#------------------------------------------- # C by GE Lights - https://amzn.to/30w3UWy # @CCOSTAN # Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig # Changing the way we call these routines.. no longer using routines.. using custom commands via ALEXA Media Player. # https://github.com/CCOSTAN/Home-AssistantConfig/issues/812 #------------------------------------------- ################################################## ## Scripts ## Called in the AWAY script to shut all devices down. ################################################## script: paige_lights_off: alias: 'Paige ALL Lights Off' sequence: - service: media_player.play_media data: entity_id: media_player.garage media_content_id: 'turn off paige bed' media_content_type: custom paige_lights_on: alias: 'Paige Lights On - Just Overhead' sequence: - service: media_player.play_media data: entity_id: media_player.paige_room media_content_id: paigelighton media_content_type: routine garage_lights_off: alias: 'ALL Garage Lights Off' sequence: - service: media_player.play_media data: entity_id: media_player.garage media_content_id: 'turn off c life 3' media_content_type: custom - delay: "00:01:30" - service: media_player.play_media data: entity_id: media_player.garage media_content_id: 'turn off c life 4' media_content_type: custom - delay: "00:01:30" - service: media_player.play_media data: entity_id: media_player.garage media_content_id: 'turn off c sleep 1' media_content_type: custom - delay: "00:01:30" - service: media_player.play_media data: entity_id: media_player.garage media_content_id: 'turn off c sleep 2' media_content_type: custom