Error "... unhandled mode_state_template", root cause?

For devices supporting the Auto Discovery feature. Like ZWaveJS2MQTT, Zigbee2MQTT.

Moderator: leecollings

Post Reply
User avatar
Domoberry
Posts: 126
Joined: Tuesday 30 May 2017 19:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.7
Contact:

Error "... unhandled mode_state_template", root cause?

Post by Domoberry »

Hi All,
Busy trying to improve the implementation of the Zwave Eurotronic Spirit thermostat valve controller via ZwaveJS to Domoticz based on MQTT Auto discovery.
(for example: Domoticz UI allows to set the valve controller mode to 'cool', which is not supported by the device itself. Also pressing the 'boost' button on the controller throws an error in Domoticz).
Made practical progres but stumbled on this error:

Code: Select all

Error: Zwave AD: climate device unhandled mode_state_template
This seems to suggest that Domoticz MQTT Auto Discovery could not properly parse this line in the MQTT Auto Discovery config message:

Code: Select all

"mode_command_template": "{{ {'Off': 'off', 'Heat': 'heat', 'Eco Heat': 'energy_heat', 'Boost': 'full_power', 'Manual': 'manufacturer_specific' }[value] | default(value) }}"
Any suggestion is welcome!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest