mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-20 04:04:06 +00:00
Closes #366 - Noon Switch Control Via Home Assistant by way of Amazon Routines.
This commit is contained in:
26
config/packages/noonhome.yaml
Executable file
26
config/packages/noonhome.yaml
Executable file
@@ -0,0 +1,26 @@
|
||||
#-------------------------------------------
|
||||
# Noon Home Switches and Lights - https://amzn.to/30w3UWy - https://noonhome.com/products
|
||||
# @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
|
||||
|
||||
# Previous Method
|
||||
# - service: ifttt.trigger
|
||||
# data_template: {"event":"noon_off"}
|
Reference in New Issue
Block a user