|
发表于 2025-5-7 09:28:15
|
显示全部楼层
############################### 暖风机 #########################################
{
# Aqara 智能暖风机
'lumi.heater.acn01': ["Aqara", "Smart Heater", "ZNQQCB01LM"],
'params': [
{
"climate": {
MK_INIT_PARAMS: {
MK_HASS_NAME: "climate",
"supported_features": SUPPORT_TARGET_TEMPERATURE | SUPPORT_FAN_MODE | SUPPORT_SWING_MODE,
"hvac_modes": [HVAC_MODE_HEAT, HVAC_MODE_FAN_ONLY, HVAC_MODE_OFF],
"fan_modes": ["low", "medium", "high"],
"swing_modes": ["fixed", "oscillate"],
"min_temp": 16,
"max_temp": 28,
"precision": 1
},
MK_RESOURCES: {
"hvac_mode": ("4.1.85", "_attr_hvac_mode"),
"current_temp": ("0.1.85", "_attr_current_temperature"),
"target_temp": ("14.2.85", "_attr_target_temperature"),
"fan_mode": ("14.3.85", "_attr_fan_mode"),
"swing_mode": ("14.4.85", "_attr_swing_mode"),
"zigbee_lqi": ("8.0.2007", "_attr_zigbee_lqi"),
"power": ("0.12.85", "_attr_current_power_w")
}
}
},
{
"sensor": {
MK_INIT_PARAMS: {
MK_HASS_NAME: "energy",
"device_class": DEVICE_CLASS_ENERGY,
"state_class": "total_increasing",
"unit_of_measurement": ENERGY_KILO_WATT_HOUR
},
MK_RESOURCES: {"energy": ("0.13.85", "_attr_native_value")}
}
}
]
},加进去后集成所有设备无法加载,重新配置也报错,重新安装才解决 |
|