This commit is contained in:
ccostan 2020-07-19 17:09:28 -04:00
parent bb2db02acc
commit 3df4ef4d90
2 changed files with 25 additions and 2 deletions

View File

@ -1,8 +1,11 @@
###################################################################### ######################################################################
## TV Time at sunset or 8pm. Whichever is later. # @CCOSTAN
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
# TV Time at sunset or 8pm. Whichever is later.
###################################################################### ######################################################################
- alias: TV Time - alias: TV Time
id: 6e59d312-661f-40da-bb08-416f2e86b566
trigger: trigger:
- platform: state - platform: state
entity_id: input_boolean.TV_time entity_id: input_boolean.TV_time
@ -15,7 +18,6 @@
- platform: state - platform: state
entity_id: media_player.living_room_ultra entity_id: media_player.living_room_ultra
to: 'playing' to: 'playing'
from: 'idle'
- platform: time - platform: time
at: '20:00:00' at: '20:00:00'

21
config/packages/cbyge.yaml Executable file
View File

@ -0,0 +1,21 @@
#-------------------------------------------
# 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)
#-------------------------------------------
##################################################
## Scripts
##################################################
script:
paige_lights_off:
alias: 'Paige Lights Off'
id: 02cd5dfb-ef38-4d00-9c62-0d0b16a62d31
sequence:
- service: media_player.play_media
data:
entity_id: media_player.upstairs
media_content_id: paigelightoff
media_content_type: routine