@@ -227,12 +227,15 @@ fn load_quirks() -> HashMap<String, Quirk> {
227
227
. with_platform_temperature_sensor_units ( TemperatureUnits :: Farenheit ) ,
228
228
Quirk :: space_heater ( "H7135" )
229
229
. with_platform_temperature_sensor_units ( TemperatureUnits :: Farenheit ) ,
230
+ Quirk :: thermometer ( "H5051" )
231
+ . with_platform_temperature_sensor_units ( TemperatureUnits :: Farenheit )
232
+ . with_platform_humidity_sensor_units ( HumidityUnits :: RelativePercent ) ,
230
233
Quirk :: thermometer ( "H5103" )
231
- . with_platform_temperature_sensor_units ( TemperatureUnits :: CelsiusTimes100 )
232
- . with_platform_humidity_sensor_units ( HumidityUnits :: RelativePercentTimes100 ) ,
234
+ . with_platform_temperature_sensor_units ( TemperatureUnits :: Farenheit )
235
+ . with_platform_humidity_sensor_units ( HumidityUnits :: RelativePercent ) ,
233
236
Quirk :: thermometer ( "H5179" )
234
- . with_platform_temperature_sensor_units ( TemperatureUnits :: CelsiusTimes100 )
235
- . with_platform_humidity_sensor_units ( HumidityUnits :: RelativePercentTimes100 ) ,
237
+ . with_platform_temperature_sensor_units ( TemperatureUnits :: Farenheit )
238
+ . with_platform_humidity_sensor_units ( HumidityUnits :: RelativePercent ) ,
236
239
Quirk :: device ( "H7170" , DeviceType :: Kettle , "mdi:kettle" )
237
240
. with_platform_temperature_sensor_units ( TemperatureUnits :: Farenheit ) ,
238
241
Quirk :: device ( "H7171" , DeviceType :: Kettle , "mdi:kettle" )
0 commit comments