mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 15:12:06 +00:00 
			
		
		
		
	one more
This commit is contained in:
		| @@ -12,6 +12,8 @@ class IntervalSyncer : public Component { | ||||
|   void setup() override { | ||||
|     if (this->write_interval_ != 0) { | ||||
|       set_interval(this->write_interval_, []() { global_preferences->sync(); }); | ||||
|       // When using interval-based syncing, we don't need the loop | ||||
|       this->mark_loop_done(); | ||||
|     } | ||||
|   } | ||||
|   void loop() override { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user