mirror of
https://github.com/XiaoMi/ha_xiaomi_home.git
synced 2025-11-21 11:38:58 +08:00
Fix specs (#1496)
* fix: roidmi.vacuum.v60 duplicated service name for vacuum entity * fix: cykj.hood.jyj22 spec urn version 4 (#1477) * fix: lumi.motion.bmgl01 siid=2 piid=2 value-list (#1444) * fix: ykcn.valve.cbcs power property value unit (#1488) * fix: ainice.sensor_occupy.3b siid=2 piid=5,11,14,17 device_class (#1495) * fix: qdhkl.airc.a42 hvac mode (#1483)
This commit is contained in:
@@ -529,6 +529,8 @@ class AirConditioner(FeatureOnOff, FeatureTargetTemperature,
|
||||
self._hvac_mode_map[item.value] = HVACMode.DRY
|
||||
elif item.name in {'fan'}:
|
||||
self._hvac_mode_map[item.value] = HVACMode.FAN_ONLY
|
||||
elif item.name in {'heat_cool'}:
|
||||
self._hvac_mode_map[item.value] = HVACMode.HEAT_COOL
|
||||
self._attr_hvac_modes = list(self._hvac_mode_map.values())
|
||||
self._prop_mode = prop
|
||||
elif prop.name == 'ac-state':
|
||||
|
||||
Reference in New Issue
Block a user