mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 15:12:06 +00:00 
			
		
		
		
	[sensor] Add optimistic option to heartbeat filter (#10993)
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com> Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
		| @@ -101,6 +101,9 @@ sensor: | ||||
|       - filter_out: 10 | ||||
|       - filter_out: !lambda return NAN; | ||||
|       - heartbeat: 5s | ||||
|       - heartbeat: | ||||
|           period: 5s | ||||
|           optimistic: true | ||||
|       - lambda: return x * (9.0/5.0) + 32.0; | ||||
|       - max: | ||||
|           window_size: 10 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user