<commit_before>#
# LoPresti smart home - automation configuration for Home Assistant
#
####################################################################

alias: 'Cinema setup'
initial_state: True
trigger:
  platform: event
  event_type: call_service
  event_data:
    service_data:
      entity_id: [scene.cinema]
    domain: scene
    service: turn_on

action:
  - service: tts.google_say
    entity_id: media_player.chromecast
    data:
      message: "Il cinema e' pronto!"<commit_msg>Switch on the CHromecast prior to using it<commit_after>#
# LoPresti smart home - automation configuration for Home Assistant
#
####################################################################

alias: 'Cinema setup'
initial_state: True
trigger:
  platform: event
  event_type: call_service
  event_data:
    service_data:
      entity_id: [scene.cinema]
    domain: scene
    service: turn_on

action:
  - service: media_player.turn_on
    entity_id: media_player.chromecast
  - service: tts.google_say
    entity_id: media_player.chromecast
    data:
      message: "Cinema pronto!"
{'fraction_non_alphanumeric': 0.19294990723562153, 'fraction_numerical': 0.0, 'mean_word_length': 4.44949494949495, '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': '6698425', 'n_tokens_mistral': 328, 'n_tokens_neox': 318, 'n_words': 84}