- id: "morning_lights" alias: "Morning lights on" trigger: - platform: time at: "06:30:00" condition: [] action: - service: light.turn_on target: entity_id: light.living_room mode: single - id: "goodnight" alias: "Goodnight routine" trigger: - platform: state entity_id: input_boolean.goodnight to: "on" condition: [] action: - service: light.turn_off target: entity_id: all mode: single - id: "low_battery_alert" alias: "Low battery alert" trigger: - platform: numeric_state entity_id: sensor.front_door_battery below: 20 condition: [] action: - service: notify.mobile_app data: message: "Front door sensor battery low" mode: single