Open illigtr opened 2 months ago
Hey there @tuya, @zlinoliver, @frenck, mind taking a look at this issue as it has been labeled with an integration (tuya
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
tuya documentation tuya source (message by IssueLinks)
I forget to add the edit I made to core/components/climate.py to minimally get the device to show up in HA as a climate device...
CLIMATE_DESCRIPTIONS: dict[str, TuyaClimateEntityDescription] = {
# Air conditioner
# https://developer.tuya.com/en/docs/iot/categorykt?id=Kaiuz0z71ov2n
"kt": TuyaClimateEntityDescription(
key="kt",
switch_only_hvac_mode=HVACMode.COOL,
),
# Heater
# https://developer.tuya.com/en/docs/iot/f?id=K9gf46epy4j82
"qn": TuyaClimateEntityDescription(
key="qn",
switch_only_hvac_mode=HVACMode.HEAT,
),
# Heater
# https://developer.tuya.com/en/docs/iot/categoryrs?id=Kaiuz0nfferyx
"rs": TuyaClimateEntityDescription(
key="rs",
switch_only_hvac_mode=HVACMode.HEAT,
),
# Thermostat
# https://developer.tuya.com/en/docs/iot/f?id=K9gf45ld5l0t9
"wk": TuyaClimateEntityDescription(
key="wk",
switch_only_hvac_mode=HVACMode.HEAT_COOL,
),
# Thermostatic Radiator Valve
# Not documented
"wkf": TuyaClimateEntityDescription(
key="wkf",
switch_only_hvac_mode=HVACMode.HEAT,
),
# ADDED by TONY ILLIG - Thermostat custom TUYA model BHP-8000C
# https://developer.tuya.com/en/docs/iot/f?id=K9gf45ld5l0t9
"bmwk": TuyaClimateEntityDescription(
key="bmwk",
switch_only_hvac_mode=HVACMode.HEAT_COOL,
),
}
The problem
This is a bug/feature request. With the new Tuya "official" integration since early 2024, there are known mapping issues with some Tuya thermostats and the HA climate entity. I will document what I have done so far to make my BHP-8000C work with HA, but it is going to require more work (which I am willing to participate in).
What version of Home Assistant Core has the issue?
2024.8.3
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Tuya
Link to integration documentation on our website
https://www.home-assistant.io/integrations/tuya
Diagnostics information
tuya-01J6WW54FCJJ5X5E55XEJE0PMX-Thermostat-3fdeb2b9318d5863edd641e6e9b5b741(2).json
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
Screenshots showing duplicated settings... missing menu/schedule.