Reverted scripts to use Custom commands rather than Routines.

This commit is contained in:
ccostan 2021-04-22 13:47:13 -04:00
parent 0314ddf9ef
commit cb486e41df
5 changed files with 100 additions and 62 deletions

View File

@ -1 +1 @@
2021.4.3 2021.4.6

View File

@ -2,7 +2,7 @@
# C by GE Lights - https://amzn.to/30w3UWy # C by GE Lights - https://amzn.to/30w3UWy
# @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) # 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 # https://github.com/CCOSTAN/Home-AssistantConfig/issues/812
#------------------------------------------- #-------------------------------------------
@ -18,8 +18,20 @@ script:
- service: media_player.play_media - service: media_player.play_media
data: data:
entity_id: media_player.paige_room entity_id: media_player.paige_room
media_content_id: paigelightoff media_content_id: 'turn off paige bed'
media_content_type: routine 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: paige_lights_on:
alias: 'Paige Lights On - Just Overhead' alias: 'Paige Lights On - Just Overhead'
@ -33,8 +45,33 @@ script:
garage_lights_off: garage_lights_off:
alias: 'ALL Garage Lights Off' alias: 'ALL Garage Lights Off'
sequence: sequence:
- service: media_player.play_media - service: media_player.play_media
data: data:
entity_id: media_player.kitchen_show entity_id: media_player.kitchen_show
media_content_id: garagecbygeoff media_content_id: 'turn off c life 3'
media_content_type: routine 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

View File

@ -2,7 +2,7 @@
# Noon Home Switches and Lights - https://amzn.to/3fOIPx6 # Noon Home Switches and Lights - https://amzn.to/3fOIPx6
# @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) # 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 # https://github.com/CCOSTAN/Home-AssistantConfig/issues/366
#------------------------------------------- #-------------------------------------------
@ -15,8 +15,9 @@ script:
noon_lights_off: noon_lights_off:
alias: 'Bathroom Noon Lights Off' alias: 'Bathroom Noon Lights Off'
sequence: sequence:
- service: media_player.play_media - service: media_player.play_media
data: data:
entity_id: media_player.master_bathroom entity_id: media_player.master_bathroom
media_content_id: noonoff media_content_id: 'turn off bathroom lights'
media_content_type: routine media_content_type: custom

File diff suppressed because one or more lines are too long