✨ update notifications
This commit is contained in:
		
							
								
								
									
										11
									
								
								automations/system/update.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								automations/system/update.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
			
		||||
# Example configuration.yaml entry
 | 
			
		||||
- alias: "Update Available Notification"
 | 
			
		||||
  trigger:
 | 
			
		||||
    - platform: state
 | 
			
		||||
      entity_id: binary_sensor.updater
 | 
			
		||||
      from: "off"
 | 
			
		||||
      to: "on"
 | 
			
		||||
  action:
 | 
			
		||||
    - service: notify.notify
 | 
			
		||||
      data:
 | 
			
		||||
        message: "Home Assistant {{ state_attr('binary_sensor.updater', 'newest_version') }} is available."
 | 
			
		||||
		Reference in New Issue
	
	Block a user