home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.75k stars 30k forks source link

MQTT - Viessmann ZK03840 - Invalid modes mode: sleep #79375

Closed ArtCore7 closed 1 year ago

ArtCore7 commented 1 year ago

The problem

Viessmann ZK03840 Problems

Hello HASS Developers, just ran in to problems to integrate the Viessmann ZK03840 TVR in HA with Zigbee2MQTT over Mosquitto Broker. Everything is working but the SystemMode is always in the state "heat", in the logs of HA i also found this entry:

Logger: homeassistant.components.mqtt.climate
Source: components/mqtt/climate.py:573
Integration: MQTT (documentation, issues)
First occurred: 29. September 2022 um 20:51:51 (368 occurrences)
Last logged: 19:06:10

Invalid modes mode: sleep
Invalid modes mode: Sleep

What I also found it this entry in the zigbee2mqtt home-assistant extension - so I don't know its a problem of HA or Z2M (@Koenkk) - Link to Line 238 of zigbee2mqtt homeassistant.ts

The Heating works well, in HA it always shows "Heating On": Working but Wrong Display

I hope you can find a soloution for this problem... if you need some more information from me just tell me.

Thanks for the awesome work guys!!!

What version of Home Assistant Core has the issue?

2022.09.07

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Mosquitto Broker

Link to integration documentation on our website

https://www.home-assistant.io/integrations/mqtt

Diagnostics information

config_entry-mqtt-52a9ae775008eb45c10118823a96bf42.json.txt

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant.components.mqtt.climate
Source: components/mqtt/climate.py:573
Integration: MQTT (documentation, issues)
First occurred: 29. September 2022 um 20:51:51 (368 occurrences)
Last logged: 19:06:10

Invalid modes mode: sleep
Invalid modes mode: Sleep

Additional information

No response

homeassistant commented 1 year ago

Hey there @emontnemery, mind taking a look at this issue as it has been labeled with an integration (mqtt) you are listed as a code owner for? Thanks! (message by CodeOwnersMention)


mqtt documentation mqtt source (message by IssueLinks)

jbouwh commented 1 year ago

It seems MQTT is receiving a mode that is not in the modes list. I have to little information to tell what entity it is. It is the state that is reported back that is not accepted.