updates
This commit is contained in:
		
							
								
								
									
										26
									
								
								packages/light/night.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								packages/light/night.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,26 @@
 | 
			
		||||
input_boolean:
 | 
			
		||||
  lights_needed:
 | 
			
		||||
    name: Lights needed
 | 
			
		||||
    initial: false
 | 
			
		||||
 | 
			
		||||
automation:
 | 
			
		||||
  - alias: lights_needed
 | 
			
		||||
    mode: single
 | 
			
		||||
    trigger:
 | 
			
		||||
      - platform: time_pattern
 | 
			
		||||
        minutes: "10"
 | 
			
		||||
    action:
 | 
			
		||||
      - if:
 | 
			
		||||
          - condition: sun
 | 
			
		||||
            before: sunrise
 | 
			
		||||
            before_offset: "+01:00"
 | 
			
		||||
            after: sunset
 | 
			
		||||
            after_offset: "-01:00"
 | 
			
		||||
        then:
 | 
			
		||||
          - service: input_boolean.turn_on
 | 
			
		||||
            target:
 | 
			
		||||
              entity_id: input_boolean.lightsneeded
 | 
			
		||||
        else:
 | 
			
		||||
          - service: input_boolean.turn_off
 | 
			
		||||
            target:
 | 
			
		||||
              entity_id: input_boolean.lightsneeded
 | 
			
		||||
							
								
								
									
										6
									
								
								packages/notifications.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								packages/notifications.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,6 @@
 | 
			
		||||
notify:
 | 
			
		||||
  - platform: html5
 | 
			
		||||
    name: browser
 | 
			
		||||
    vapid_pub_key: !secret  google_api_pub
 | 
			
		||||
    vapid_prv_key: !secret  google_api_priv
 | 
			
		||||
    vapid_email: !secret  google_api_email
 | 
			
		||||
		Reference in New Issue
	
	Block a user