mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 15:12:06 +00:00 
			
		
		
		
	Fix below freezing temperature for Inkbird sensors (#2466)
This commit is contained in:
		| @@ -72,7 +72,7 @@ bool InkbirdIbstH1Mini::parse_device(const esp32_ble_tracker::ESPBTDevice &devic | |||||||
|   auto external_temperature = NAN; |   auto external_temperature = NAN; | ||||||
|  |  | ||||||
|   // Read bluetooth data into variable |   // Read bluetooth data into variable | ||||||
|   auto measured_temperature = mnf_data.uuid.get_uuid().uuid.uuid16 / 100.0f; |   auto measured_temperature = ((int16_t) mnf_data.uuid.get_uuid().uuid.uuid16) / 100.0f; | ||||||
|  |  | ||||||
|   // Set temperature or external_temperature based on which sensor is in use |   // Set temperature or external_temperature based on which sensor is in use | ||||||
|   if (mnf_data.data[2] == 0) { |   if (mnf_data.data[2] == 0) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user