2020-07-19 23:19:41 +00:00
|
|
|
#-------------------------------------------
|
2020-07-20 00:16:03 +00:00
|
|
|
# Noon Home Switches and Lights - https://amzn.to/3fOIPx6
|
2020-07-19 23:19:41 +00:00
|
|
|
# @CCOSTAN
|
|
|
|
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
2021-04-22 17:47:13 +00:00
|
|
|
# Changing the way we call these routines.. no longer using routines.. using custom commands via ALEXA Media Player.
|
2020-07-19 23:19:41 +00:00
|
|
|
# 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:
|
2021-04-22 17:47:13 +00:00
|
|
|
|
2020-07-19 23:19:41 +00:00
|
|
|
- service: media_player.play_media
|
|
|
|
data:
|
|
|
|
entity_id: media_player.master_bathroom
|
2021-04-22 17:47:13 +00:00
|
|
|
media_content_id: 'turn off bathroom lights'
|
|
|
|
media_content_type: custom
|