Reverted scripts to use Custom commands rather than Routines.
This commit is contained in:
parent
0314ddf9ef
commit
cb486e41df
|
@ -1 +1 @@
|
|||
2021.4.3
|
||||
2021.4.6
|
|
@ -2,7 +2,7 @@
|
|||
# C by GE Lights - https://amzn.to/30w3UWy
|
||||
# @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)
|
||||
# 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
|
||||
#-------------------------------------------
|
||||
|
||||
|
@ -18,8 +18,20 @@ script:
|
|||
- service: media_player.play_media
|
||||
data:
|
||||
entity_id: media_player.paige_room
|
||||
media_content_id: paigelightoff
|
||||
media_content_type: routine
|
||||
media_content_id: 'turn off paige bed'
|
||||
media_content_type: custom
|
||||
|
||||
# - service: media_player.play_media
|
||||
# data:
|
||||
# entity_id: media_player.paige_room
|
||||
# media_content_id: 'turn off paige light 1'
|
||||
# media_content_type: custom
|
||||
#
|
||||
# - service: media_player.play_media
|
||||
# data:
|
||||
# entity_id: media_player.paige_room
|
||||
# media_content_id: 'turn off paige light 2'
|
||||
# media_content_type: custom
|
||||
|
||||
paige_lights_on:
|
||||
alias: 'Paige Lights On - Just Overhead'
|
||||
|
@ -33,8 +45,33 @@ script:
|
|||
garage_lights_off:
|
||||
alias: 'ALL Garage Lights Off'
|
||||
sequence:
|
||||
|
||||
- service: media_player.play_media
|
||||
data:
|
||||
entity_id: media_player.kitchen_show
|
||||
media_content_id: garagecbygeoff
|
||||
media_content_type: routine
|
||||
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.kitchen_show
|
||||
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.kitchen_show
|
||||
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.kitchen_show
|
||||
media_content_id: 'turn off c sleep 2'
|
||||
media_content_type: custom
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# 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)
|
||||
# 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/366
|
||||
#-------------------------------------------
|
||||
|
||||
|
@ -15,8 +15,9 @@ 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
|
||||
media_content_id: 'turn off bathroom lights'
|
||||
media_content_type: custom
|
||||
|
|
File diff suppressed because one or more lines are too long
Binary file not shown.
Loading…
Reference in New Issue