Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
11.88k stars 1.66k forks source link

Zen Thermostat No Ability to Set Emergency Mode #21960

Open 88fingerslukee opened 6 months ago

88fingerslukee commented 6 months ago

What happened?

Zen Thermostat works decently but I can't set it to Emergency Heat mode. For some reason the State of the device shows the system_mode as displaying "emergency_heating" when I set it from the thermostat but I can't read the system_mode number from the Dev console.

here is my state

{ "fan_mode": "auto", "fan_state": "ON", "linkquality": 76, "local_temperature": 20.8, "occupied_cooling_setpoint": 25, "occupied_heating_setpoint": 22, "running_mode": "heat", "system_mode": "emergency_heating", "update": { "installed_version": 528, "latest_version": 528, "state": "idle" }, "voltage": 6000, "local_temperature_calibration": null, "update_available": null }

What did you expect to happen?

No response

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

1.36.0 commit: 86ed71c

Adapter firmware version

20230507

Adapter

Sonoff Zdongle-E

Setup

docker container

Debug log

No response

88fingerslukee commented 6 months ago

Okay, so the systemmode should have another option (5) that should be exposed as Emergency heating or Aux heating. Right now I can't set it because this mode isn't exposed.

88fingerslukee commented 6 months ago

@Koenkk is there an easy way to add this functionality? I'm sorry, but I'm a little lost with the external config generation.

Koenkk commented 6 months ago

Added it.

Changes will be available in the dev branch in a few hours from now.

88fingerslukee commented 6 months ago

@Koenkk emegency_heating is not a valid HVAC mode per HA. Is there a way to make this a preset instead?

Apparently custom presets are allowed as per the Climate developer guide.

github-actions[bot] commented 1 day ago

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 30 days