mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 05:35:11 +02:00
Change from state to select selector
This commit is contained in:
@@ -5,8 +5,12 @@ state:
|
||||
fields:
|
||||
state:
|
||||
required: true
|
||||
default: "on"
|
||||
selector:
|
||||
state:
|
||||
select:
|
||||
options:
|
||||
- "off"
|
||||
- "on"
|
||||
behavior:
|
||||
required: true
|
||||
default: any
|
||||
|
@@ -149,6 +149,13 @@
|
||||
}
|
||||
},
|
||||
"selector": {
|
||||
"behavior": {
|
||||
"options": {
|
||||
"all": "All",
|
||||
"any": "Any",
|
||||
"one": "One"
|
||||
}
|
||||
},
|
||||
"color_name": {
|
||||
"options": {
|
||||
"homeassistant": "Home Assistant",
|
||||
@@ -306,6 +313,12 @@
|
||||
"short": "Short",
|
||||
"long": "Long"
|
||||
}
|
||||
},
|
||||
"state": {
|
||||
"options": {
|
||||
"off": "[%key:common::state::off%]",
|
||||
"on": "[%key:common::state::on%]"
|
||||
}
|
||||
}
|
||||
},
|
||||
"services": {
|
||||
|
Reference in New Issue
Block a user