mirror of
				https://github.com/CCOSTAN/Home-AssistantConfig.git
				synced 2025-11-04 04:55:16 +00:00 
			
		
		
		
	Give the Outdoor Helper some more smarts about whether it's morning or not.
This commit is contained in:
		@@ -36,7 +36,14 @@
 | 
			
		||||
          {% else %}
 | 
			
		||||
          gold
 | 
			
		||||
          {% endif %}
 | 
			
		||||
    - service: switch.turn_on
 | 
			
		||||
 | 
			
		||||
    - service_template: >
 | 
			
		||||
       {% set hour=states("sensor.time").split(':')[0] | int %}
 | 
			
		||||
       {% if hour >= 5 and hour <= 9 and states.group.bed.state == 'on'%}
 | 
			
		||||
         switch.turn_off
 | 
			
		||||
       {% else %}
 | 
			
		||||
          switch.turn_on
 | 
			
		||||
       {% endif %}
 | 
			
		||||
      entity_id:
 | 
			
		||||
        - switch.master_bathroom_accents
 | 
			
		||||
        - switch.back_landscaping
 | 
			
		||||
 
 | 
			
		||||
										
											Binary file not shown.
										
									
								
							| 
		 Before Width: | Height: | Size: 142 KiB After Width: | Height: | Size: 134 KiB  | 
		Reference in New Issue
	
	Block a user