<commit_before>- alias: "Harmony Change Activity"
  trigger:
  - platform: state
    entity_id: input_select.living_room_tv
  action:
  - service: remote.turn_on
    data_template:
      entity_id: remote.living_room_tv
      activity: '{{ states.input_select.living_room_tv.state }}'

- alias: "Harmony Update Activity Select"
  trigger:
  - platform: state
    entity_id: sensor.living_room_tv
  condition:
    condition: template
    value_template: {{ states.sensor.living_room_tv.state != "PowerOff" }}
  action:
  - service: input_select.select_option
    data_template:
      entity_id: input_select.living_room_tv<commit_msg>Trying quoting the harmony value template<commit_after>- alias: "Harmony Change Activity"
  trigger:
  - platform: state
    entity_id: input_select.living_room_tv
  action:
  - service: remote.turn_on
    data_template:
      entity_id: remote.living_room_tv
      activity: '{{ states.input_select.living_room_tv.state }}'

- alias: "Harmony Update Activity Select"
  trigger:
  - platform: state
    entity_id: sensor.living_room_tv
  condition:
    condition: template
    value_template: '{{ states.sensor.living_room_tv.state != "PowerOff" }}'
  action:
  - service: input_select.select_option
    data_template:
      entity_id: input_select.living_room_tv
{'fraction_non_alphanumeric': 0.09259259259259259, 'fraction_numerical': 0.0, 'mean_word_length': 3.950381679389313, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1036815', 'n_tokens_mistral': 428, 'n_tokens_neox': 412, 'n_words': 84}