mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 06:33:51 +00:00 
			
		
		
		
	time sync notification (#1442)
* add on_time_sync trigger * cleanup lint * fix review remark (sntp didn't trigger callbacks)
This commit is contained in:
		
				
					committed by
					
						 Jesse Hills
						Jesse Hills
					
				
			
			
				
	
			
			
			
						parent
						
							828f7946ea
						
					
				
				
					commit
					6781d08c9b
				
			| @@ -1854,10 +1854,7 @@ time: | ||||
|       then: | ||||
|         - lambda: 'ESP_LOGD("main", "time");' | ||||
|   - platform: gps | ||||
|     update_interval: 1h | ||||
|     on_time: | ||||
|       seconds: 0 | ||||
|       minutes: /15 | ||||
|     on_time_sync: | ||||
|       then: | ||||
|         ds1307.write: | ||||
|           id: ds1307_time | ||||
|   | ||||
		Reference in New Issue
	
	Block a user