Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Invalid modes mode: heat" in Home Assistant log #301

Open
climategadgets opened this issue Dec 5, 2023 · 0 comments
Open

"Invalid modes mode: heat" in Home Assistant log #301

climategadgets opened this issue Dec 5, 2023 · 0 comments

Comments

@climategadgets
Copy link
Member

Expected Behavior

  • No undesired log messages appear in Home Assistant log
  • All actions are available via Home Assistant interface

Actual Behavior

  • Home Assistant log contains the Invalid modes mode: heat line at ERROR level repeated once per zone update (i.e. a lot)
  • Zone visualization doesn't contain the correct icon, and the zone can't be turned back on once shut off (see the screenshots below), the control is missing
  • ...or so Home Assistant thinks, the affected zone is not actually shut off in HCC
  • Random zones are affected, different after each HCC restart

Root Cause

Correct mode is missing from the discovery packet emitted for the affected zone[s]. Compare:

Right:

  "name": "Family Room",
  "mode_command_topic": "~/mode/command",
  "mode_state_topic": "~/state",
  "mode_state_template": "{{value_json.mode}}",
  "modes": [
    "off",
    "heat"
  ],

Wrong:

{
  "name": "Dining Room",
  "mode_command_topic": "~/mode/command",
  "mode_state_topic": "~/state",
  "mode_state_template": "{{value_json.mode}}",
  "modes": [
    "off"
  ],

image
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant