#Automating with Schedule Helpers

1 messages · Page 1 of 1 (latest)

random slate
#

I have set up a schedule helper to have a light turn on and off depending on the schedule in the helper. For example, when it’s 8am, turn light on, and turn light off at 10. I tried turning on the light at 7 am, but the automation kept turning it off because it was outside of the “window” for it to be on. Is there a better way to do this or something I can add so that If i manually turn on the light it stays on? (For context, i use home kit with items in HA. MY family uses HomeKit and there is a switch to turn a awkward light on)

vocal pond
#

Without sharing the automation we just have no idea what you did.

boreal lilyBOT
#

To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks.
```yaml
example: here
```
Don't forget you can edit your post rather than repeatedly posting the same thing.

random slate
#
description: ""
triggers:
  - trigger: state
    entity_id:
      - switch.masterbedroom_mirror
conditions: []
actions:
  - choose:
      - conditions:
          - condition: state
            entity_id: schedule.mirror_light
            state: "on"
        sequence:
          - type: turn_on
            device_id: 3b4b852402949ab0db7856b918f94597
            entity_id: e43547574ddf8746f4c3bc1e8bce26aa
            domain: switch
      - conditions:
          - condition: state
            state: "off"
            entity_id: schedule.mirror_light
        sequence:
          - type: turn_off
            device_id: 3b4b852402949ab0db7856b918f94597
            entity_id: e43547574ddf8746f4c3bc1e8bce26aa
            domain: switch
mode: single