mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-05-09 10:14:41 +00:00
Tweak kitchen light on automation
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
automation:
|
||||
- alias: Lighting · Kitchen · Day mode · Motion · Turn lights on after sunset
|
||||
- alias: Lighting · Kitchen · Day mode · Motion · Turn lights on
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: binary_sensor.motion_1_ias_zone
|
||||
@@ -13,19 +13,21 @@ automation:
|
||||
- condition: state
|
||||
entity_id: input_select.house_mode
|
||||
state: "day"
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: sun
|
||||
after: sunset
|
||||
after_offset: "-01:00:00"
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.dark_sky_cloud_coverage
|
||||
above: 80
|
||||
action:
|
||||
- service: light.turn_on
|
||||
entity_id:
|
||||
- light.tuya_kitchen
|
||||
- light.browser_kitchen
|
||||
entity_id: light.browser_kitchen
|
||||
data:
|
||||
brightness_pct: 100
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: sun
|
||||
after: sunset
|
||||
after_offset: "-01:00:00"
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.dark_sky_cloud_coverage
|
||||
above: 80
|
||||
- service: light.turn_on
|
||||
entity_id: light.tuya_kitchen
|
||||
data:
|
||||
brightness_pct: 100
|
||||
|
||||
|
||||
Reference in New Issue
Block a user