Skip to content

Comments

Fix ghost entities and behavior regressions for Polytherm Polyalpha thermostat#4529

Closed
ruygargar wants to merge 3 commits intomake-all:mainfrom
ruygargar:bugfix/polyalpha-regression-issues
Closed

Fix ghost entities and behavior regressions for Polytherm Polyalpha thermostat#4529
ruygargar wants to merge 3 commits intomake-all:mainfrom
ruygargar:bugfix/polyalpha-regression-issues

Conversation

@ruygargar
Copy link
Contributor

Description

This PR fixes regressions introduced in the Polytherm Polyalpha thermostat configuration that were causing incorrect entity mappings and availability issues.

Fixes #4527

Changes Made

1. Remove Ghost Humidity Entities

  • Removed: Humidifier entity with fake humidity sensor and control (DPs 106, 107)
  • Reason: The Polytherm Polyalpha hardware does not possess a hygrometer. It only measures and regulates temperature (5-30°C). The manual's technical parameters and DP list confirm no humidity measurement capability exists.

2. Fix Climate Availability Logic

  • Removed: Switch entity (DP 1) that controlled climate availability
  • Restored: DP 1 as hvac_mode with off state support
  • Restored: DP 104 as cool_heat constraint (hidden)
  • Result: Climate entity remains available when the thermostat is off, allowing temperature readings (temp_current) to be displayed in the dashboard regardless of power state.

3. Hide Floor Temperature Sensor by Default

  • Changed: Floor temperature sensor (external probe) set to category: diagnostic
  • Reason: Per manufacturer's installation manual (pages 1-2): "No se aconseja su uso [sonda de suelo/externa], salvo en lugares que tengan que tener una temperatura constante en superficie" / "Its use is not recommended [external/floor probe], except in locations that require a constant surface temperature". The vast majority of users won't have an external floor temperature probe connected.

Device Behavior After Fix

  • Climate entity: Always available, showing current temperature even when thermostat is off
  • HVAC modes: Off, Cool, Heat (using cool_heat constraint from DP 104)
  • Floor sensor: Hidden by default (can be enabled manually if user has external probe)
  • No humidity entities: Removed fake humidity sensor and controls

Testing

  • Verified against official Polytherm Polyalpha manual
  • Confirmed DP mappings match actual hardware capabilities
  • Climate entity correctly reports temperature regardless of power state

Ruy García added 3 commits February 18, 2026 02:06
The humidifier entity is not a standard feature of this thermostat model
…witch entity

- Remove switch entity (dps 1) for general availability control
- Restore dps 1 as hvac_mode with 'off' state support
- Restore dps 104 as cool_heat constraint (hidden)
- This allows temperature readings even when thermostat is off
…y default

Set floor temperature sensor as diagnostic category since the vast majority of users won't have an external floor temperature probe connected
@github-project-automation github-project-automation bot moved this to 👀 In review in Tuya Local Feb 18, 2026
make-all added a commit that referenced this pull request Feb 18, 2026
There seem to be at least 2 variants of this device, with and without humidity.
See #3279, #4336, #4527

- Hide the humidity control and the floor temperature sensor if they are not available.
- revert the hvac_mode to using 2 dps. #4336 wasn't clear about the problem, and if one
  variant supports it, it seems unlikely that the other would remain compatible but reject
  more than 1 dp being changed at once.

This is a better compomise than the proposed PR #4529, which just reverts almost all
the changes from #4336 completely.
@make-all make-all closed this Feb 18, 2026
@github-project-automation github-project-automation bot moved this from 👀 In review to ✅ Done in Tuya Local Feb 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

Regression in v2026.1.2 for Polytherm Polyalpha – Ghost humidity entities, improper floor probe visibility, and climate availability logic

2 participants