Deduplicate light condition descriptions (#160977)

This commit is contained in:
Erik Montnemery
2026-01-15 09:14:28 +01:00
committed by GitHub
parent aca4d3c5e6
commit 60316a1232
+4 -15
View File
@@ -1,18 +1,4 @@
is_off:
target:
entity:
domain: light
fields:
behavior:
required: true
default: any
selector:
select:
translation_key: condition_behavior
options:
- all
- any
is_on:
.condition_common: &condition_common
target:
entity:
domain: light
@@ -26,3 +12,6 @@ is_on:
options:
- all
- any
is_off: *condition_common
is_on: *condition_common