home-climate-control / dz

Home Climate Control Core: *the* Open Source multi-zone temperature and climate control system.
http://homeclimatecontrol.com/
GNU General Public License v3.0
59 stars 7 forks source link

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

Open climategadgets opened 9 months ago

climategadgets commented 9 months ago

Expected Behavior

Actual Behavior

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