mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	Fix compile warning in Tuya automations (#2837)
This commit is contained in:
		| @@ -9,7 +9,8 @@ namespace tuya { | ||||
|  | ||||
| void check_expected_datapoint(const TuyaDatapoint &dp, TuyaDatapointType expected) { | ||||
|   if (dp.type != expected) { | ||||
|     ESP_LOGW(TAG, "Tuya sensor %u expected datapoint type %#02hhX but got %#02hhX", dp.id, expected, dp.type); | ||||
|     ESP_LOGW(TAG, "Tuya sensor %u expected datapoint type %#02hhX but got %#02hhX", dp.id, | ||||
|              static_cast<uint8_t>(expected), static_cast<uint8_t>(dp.type)); | ||||
|   } | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user