mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-03-03 20:16:52 +00:00
Closes #366 - Noon Switch Control Via Home Assistant by way of Amazon Routines.
This commit is contained in:
parent
ef25093a98
commit
224734347a
@ -30,7 +30,6 @@
|
|||||||
|
|
||||||
action:
|
action:
|
||||||
- service: script.interior_off
|
- service: script.interior_off
|
||||||
- service: script.paige_lights_off
|
|
||||||
- service: switch.turn_off
|
- service: switch.turn_off
|
||||||
entity_id: switch.back_landscaping
|
entity_id: switch.back_landscaping
|
||||||
- service: input_boolean.turn_off
|
- service: input_boolean.turn_off
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
# @CCOSTAN
|
# @CCOSTAN
|
||||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
# 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)
|
# These lights are only accessable via Alexa so going to use special Routines to control them. (Loosely)
|
||||||
|
# https://github.com/CCOSTAN/Home-AssistantConfig/issues/812
|
||||||
#-------------------------------------------
|
#-------------------------------------------
|
||||||
|
|
||||||
##################################################
|
##################################################
|
||||||
|
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"}
|
@ -11,8 +11,8 @@ interior_off:
|
|||||||
entity_id:
|
entity_id:
|
||||||
- group.interior_lights
|
- group.interior_lights
|
||||||
- service: script.switch_turn_off_all
|
- service: script.switch_turn_off_all
|
||||||
|
- service: script.paige_lights_off # C by GE Lights (https://amzn.to/30w3UWy)
|
||||||
|
- service: script.noon_lights_off # Noon Home Smart Lights (https://noonhome.com/products)
|
||||||
- service: media_player.turn_off
|
- service: media_player.turn_off
|
||||||
entity_id:
|
entity_id:
|
||||||
- group.media_players
|
- group.media_players
|
||||||
- service: ifttt.trigger
|
|
||||||
data_template: {"event":"noon_off"}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user