home-assistant-configuration/automations/cloudy_inside_on_home.yaml

16 lines
354 B
YAML
Executable File

alias: "Cloudy, inside on if home"
trigger:
platform: time
after: '14:00:00'
condition:
- condition: numeric_state
entity_id: sensor.dark_sky_cloud_coverage
above: 90
- condition: state
entity_id: group.family
state: "home"
action:
- service: notify.ios_jeffreystonesiphone
data:
message: "Cloudy, turning on LR Lamp"