Change from state to select selector

This commit is contained in:
abmantis
2025-08-04 17:45:07 +01:00
parent f378c96c9d
commit 89f5814310
2 changed files with 18 additions and 1 deletions

View File

@@ -5,8 +5,12 @@ state:
fields:
state:
required: true
default: "on"
selector:
state:
select:
options:
- "off"
- "on"
behavior:
required: true
default: any

View File

@@ -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": {