Declined
0
Tuya climate: implement hvac_action for switch-only devices using work_state DPCode
Source: home-assistant/core#181941 · opened by @kasitoru
The problem The Tuya climate integration never sets the hvac_action attribute of a climate entity. As a result, the state shown in the UI is always Unknown, even though the physical device reports whether it is currently heating / cooling / idle. Example — a Tuya water heater (category rs, productKey: w3jiqmxyzuvj5nir): • current_temperature — correctly shown • target_temperature — correctly shown • hvac_modes — correctly shows off / heat • hvac_action — Unknown Attributes as shown in HA Developer Tools: No hvac_action key is present, which means ClimateEntity.hvac_action falls back to its base implementation returning None. Root cause In homeassistant/components/tuya/climate.py, TuyaClimateEntity reads wrappers from ClimateDefinition but never reads an "action" wrapper, and does not override hvac_action. The upstream definition library tuya-device-handlers (all versions, including main) does not expose a wrapper for the work_state DPCode via …
No pledges yet. Be the first to back this.
Comments
Similar requests
Tuya device SAC2_R4003 shows as "Air Conditioning (unsupported)" – no climate entity created
0 votes · 0 comments
Support for Tuya Smart Relay Switch (Product ID: 71mlko77fadmn2tu)
0 votes · 0 comments
Tuya hps presence sensor does not expose illuminance and battery entities
0 votes · 0 comments
Oil Diffuser (Asakuki) not showing any entities (Tuya)
0 votes · 0 comments
Tuya VH03W – Heat alarm DP14 not exposed as entity
0 votes · 0 comments
No comments yet.