How make automation in Hass.io
If light is on turn off after 5 minutes between 18:00- 05:10 or
turn off light after 5 minutes
if i change hass.io generate automation, then face a configuration error or automation not will be available in automation’s list.
here is Hass.io automation.
- action:
- data:
entity_id: light.kitchen
service: light.turn_on
alias: Turn on hallway light after motion detected
condition:
- after: ‘23:30’
before: 07:00
condition: time
id: ‘1514488400344’
trigger:
- entity_id: binary_sensor.fibaro_system_fgms001_motion_sensor_sensor
from: ‘off’
platform: state
to: ‘on’