Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions homeassistant/components/select/services.yaml
Original file line number Diff line number Diff line change
@@ -1,56 +1,40 @@
select_first:
name: First
description: Select the first option of an select entity.
target:
entity:
domain: select

select_last:
name: Last
description: Select the last option of an select entity.
target:
entity:
domain: select

select_next:
name: Next
description: Select the next options of an select entity.
target:
entity:
domain: select
fields:
cycle:
name: Cycle
description: If the option should cycle from the last to the first.
default: true
selector:
boolean:

select_option:
name: Select
description: Select an option of an select entity.
target:
entity:
domain: select
fields:
option:
name: Option
description: Option to be selected.
required: true
example: '"Item A"'
selector:
text:

select_previous:
name: Previous
description: Select the previous options of an select entity.
target:
entity:
domain: select
fields:
cycle:
name: Cycle
description: If the option should cycle from the first to the last.
default: true
selector:
boolean:
40 changes: 40 additions & 0 deletions homeassistant/components/select/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,45 @@
}
}
}
},
"services": {
"select_first": {
"name": "First",
"description": "Selects the first option."
},
"select_last": {
"name": "Last",
"description": "Selects the last option."
},
"select_next": {
"name": "Next",
"description": "Selects the next option.",
"fields": {
"cycle": {
"name": "Cycle",
"description": "If the option should cycle from the last to the first."
}
}
},
"select_option": {
"name": "Select",
"description": "Selects an option.",
"fields": {
"option": {
"name": "Option",
"description": "Option to be selected."
}
}
},
"select_previous": {
"name": "Previous",
"description": "Selects the previous option.",
"fields": {
"cycle": {
"name": "Cycle",
"description": "If the option should cycle from the first to the last."
}
}
}
}
}