#-------------------------------------------
#  Noon Home Switches and Lights - https://amzn.to/3fOIPx6
# @CCOSTAN
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
#  These lights are only accessable via Alexa so going to use special Routines to control them. (Loosely)
# https://github.com/CCOSTAN/Home-AssistantConfig/issues/366
#-------------------------------------------

##################################################
## Scripts
## Called in the AWAY / interior_off script to shut all devices down.
##################################################

script:
  noon_lights_off:
    alias: 'Bathroom Noon Lights Off'
    sequence:
      - service: media_player.play_media
        data:
          entity_id: media_player.master_bathroom
          media_content_id: noonoff
          media_content_type: routine