alias: 'Heat on Fridays'
trigger:
  - platform: state
    entity_id: sensor.occupancy
    to: 'not_home'
condition:
  - condition: time
    after: '06:00:00'
    before: '10:00:00'
    weekday:
    - fri
action:
  - service: input_boolean.turn_on
    entity_id: input_boolean.guest_mode

alias: 'Heat on Fridays'
trigger:
  - platform: time
    at: '8:00:00'
condition:
  - condition: time
    weekday:
    - fri
action:
  - service: input_boolean.turn_on
    entity_id: input_boolean.guest_mode

Fix guest_mode race condition on fridays (lights turn off before guest_mode was set)
Fix guest_mode race condition on fridays (lights turn off before guest_mode was set)
