Moes ZHT-S01 climate entity uses internal sensor when external is selected
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.7k
- Forks
- 2k
- Avg merge
- 18h 55m
- Merged PRs (30d)
- 35
Description
What happened?
MQTT exposes a climate entity. It always uses the internal sensor, even when I have selected to use the external (floor) sensor of the thermostat unit. The internal sensor readings do not update when external sensor is selected, and they appear to default to 10 celsius. So while the thermostat unit itself works great and heats up according to the floor sensor, the MQTT Climate entity / Home Assistant thermostat card shows 10 celsius as current temp.
If I switch between internal and external sensor modes in Z2M, I can get the internal sensor data to refresh, so it shows a correct reading in the climate entity until I switch back to the external sensor. Then it stays at the last value for a while, and goes to default 10 celsius after a time period of no data.
What did you expect to happen?
When I use an external sensor, the climate entity will use external sensor data as "current temperature".
How to reproduce it (minimal and precise)
Set "Temperature sensor selection" to external, then observe that the current temperature in the climate entity stops updating & does not match the external sensor readings.
Zigbee2MQTT version
2.13.0
Adapter firmware version
20250325
Adapter
SLZB-06
Setup
Lenovo Intel 12 gen mini-PC runs Proxmox, which runs HAOS on a VM. Z2M and Mosquitto run as HA add-ons.
Device database.db entry
No response
Debug log
No response
Notes
Z2M GUI Switching between internal and external sensor is correctly applied on the thermostat.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the MQTT climate entity handling for the Moes ZHT-S01 and compare its selected temperature source with the external-sensor state shown in the Z2M GUI. Reproduce the issue by selecting the external sensor and observing the current temperature. Done means the climate entity follows updated external sensor readings instead of retaining or reverting to the internal value.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100