# alias: Set Clint Next Alarm # id: automation_set_clint_next_alarm # #description: # trigger: # - platform: state # entity_id: binary_sensor.is_workday # to: "off" # - platform: state # entity_id: binary_sensor.is_workday # to: "on" # - platform: time # at: "01:00:00" # - platform: homeassistant # event: start # action: # - choose: # - conditions: # - condition: state # entity_id: binary_sensor.is_workday # state: "off" # sequence: # - action: input_datetime.set_datetime # target: # entity_id: input_datetime.clint_next_alarm # data: # time: "07:00:00" # - conditions: # - condition: state # entity_id: binary_sensor.is_workday # state: "on" # sequence: # - action: input_datetime.set_datetime # target: # entity_id: input_datetime.clint_next_alarm # data: # time: "05:45:00"