<commit_before>alias: Morning
trigger:
  - platform: state
    entity_id: binary_sensor.master_bath_motion_37
    from: 'off'
    to: 'on'
  - platform: state
    entity_id:
    - sensor.jphone_6s_battery_state
    - sensor.katies_iphone_battery_state
    to: 'Unplugged'
    for:
      seconds: 30
condition:
  condition: and
  conditions:
  - condition: template
    value_template: '{{ states.input_select.mode.state == "Sleeping" }}'
  - condition: time
    after: '05:00:00'
  - condition: template
    value_template: '{{
                      states.input_select.mode.state != "Pause" and
                      states.input_boolean.guests.state == "off"
                    }}'
action:
  # Delay a bit so the lights come on in nightlight mode
  - delay:
      seconds: 5<commit_msg>Only allow transitions from Sleeping -> Morning in the morning<commit_after>alias: Morning
trigger:
  - platform: state
    entity_id: binary_sensor.master_bath_motion_37
    from: 'off'
    to: 'on'
  - platform: state
    entity_id:
    - sensor.jphone_6s_battery_state
    - sensor.katies_iphone_battery_state
    to: 'Unplugged'
    for:
      seconds: 30
condition:
  condition: and
  conditions:
  - condition: template
    value_template: '{{ states.input_select.mode.state == "Sleeping" }}'
  - condition: time
    after: '05:00:00'
    before: '12:00:00'
  - condition: template
    value_template: '{{
                      states.input_select.mode.state != "Pause" and
                      states.input_boolean.guests.state == "off"
                    }}'
action:
  # Delay a bit so the lights come on in nightlight mode
  - delay:
      seconds: 5
{'fraction_non_alphanumeric': 0.10242424242424242, 'fraction_numerical': 0.01818181818181818, 'mean_word_length': 2.461215932914046, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3674680', 'n_tokens_mistral': 551, 'n_tokens_neox': 521, 'n_words': 123}