File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,10 @@ impl Quirk {
71
71
. with_iot_api_support ( true )
72
72
}
73
73
74
+ pub fn ice_maker < SKU : Into < Cow < ' static , str > > > ( sku : SKU ) -> Self {
75
+ Self :: device ( sku, DeviceType :: IceMaker , "mdi:snowflake" )
76
+ }
77
+
74
78
pub fn space_heater < SKU : Into < Cow < ' static , str > > > ( sku : SKU ) -> Self {
75
79
Self :: device ( sku, DeviceType :: Heater , "mdi:heat-wave" )
76
80
}
@@ -229,6 +233,8 @@ fn load_quirks() -> HashMap<String, Quirk> {
229
233
. with_platform_temperature_sensor_units ( TemperatureUnits :: Fahrenheit ) ,
230
234
Quirk :: space_heater ( "H7135" )
231
235
. with_platform_temperature_sensor_units ( TemperatureUnits :: Fahrenheit ) ,
236
+ // <https://github.com/wez/govee2mqtt/issues/343>
237
+ Quirk :: ice_maker ( "H7172" ) . with_iot_api_support ( false ) ,
232
238
Quirk :: thermometer ( "H5051" )
233
239
. with_platform_temperature_sensor_units ( TemperatureUnits :: Fahrenheit )
234
240
. with_platform_humidity_sensor_units ( HumidityUnits :: RelativePercent ) ,
You can’t perform that action at this time.
0 commit comments