or shorthand

This commit is contained in:
2022-05-07 11:12:06 +03:00
parent 440a6cf194
commit bbb9c4e9c9
2 changed files with 14 additions and 18 deletions
@@ -20,15 +20,13 @@ automation:
entity_id: light.browser_kitchen
data:
brightness_pct: 100
- condition: or
conditions:
- condition: or
conditions:
- condition: sun
after: sunset
after_offset: "-01:00:00"
- condition: sun
before: sunrise
- or:
- or:
- condition: sun
after: sunset
after_offset: "-01:00:00"
- condition: sun
before: sunrise
- condition: numeric_state
entity_id: sensor.dark_sky_cloud_coverage
above: 80