mirror of
				https://github.com/CCOSTAN/Home-AssistantConfig.git
				synced 2025-11-04 04:55:16 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			27 lines
		
	
	
		
			922 B
		
	
	
	
		
			YAML
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			922 B
		
	
	
	
		
			YAML
		
	
	
		
			Executable File
		
	
	
	
	
#-------------------------------------------
 | 
						|
#  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)
 | 
						|
# 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"}
 |