core: Device-specific hvac modes do not work anymore

Home Assistant release with the issue: 0.96.1

Last working Home Assistant release (if known): 0.95.4

Operating environment (Hass.io/Docker/Windows/etc.): Docker

Component/platform: Z-Wave / Climate (https://www.home-assistant.io/components/zwave/)

Description of problem: After upgrading to the new version all device specific hvac modes are not working anymore. I use Eurotronic Spirit Z devices, that have some special hvac modes. https://eurotronic.org/produkte/z-wave-heizkoerperthermostat/spirit-z-wave-plus/ grafik These special modes (e.g. Heat Eco) do not work anymore. Neither can they be seen in lovelace ui: grafik

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

No relevant entries

Traceback (if applicable):

2019-07-19 23:24:13 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140051300553936] value is not allowed for dictionary value @ data['hvac_mode']
Traceback (most recent call last):
  File "/usr/src/app/homeassistant/components/websocket_api/commands.py", line 121, in handle_call_service
    connection.context(msg))
  File "/usr/src/app/homeassistant/core.py", line 1130, in async_call
    processed_data = handler.schema(service_data)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 267, in __call__
    return self._compiled([], data)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 589, in validate_dict
    return base_validate(path, iteritems(data), out)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 427, in validate_mapping
    raise er.MultipleInvalid(errors)
voluptuous.error.MultipleInvalid: value is not allowed for dictionary value @ data['hvac_mode']

Additional information:

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 20 (14 by maintainers)

Most upvoted comments

@pvizeli As you created the pull request for the climate-1.0 feature, can you please take a look at this issue? It feels like we are walking in the wrong direction. Is this issue a bug or are we misunderstanding the new preset modes? Thank you for your time.

TL,DR: Some special modes like Heat Eco, Full Power or Manufacturer Mode are unusable since the release of 0.96.0. There are blank fields in the ui. When we try to set the modes manually by calling set_preset_mode() an error occurs. The integration has an attribute, that lists all available hvac_modes. This attribute is still working.

It looks like nobody currently supports the zwave integration, because the openzwave-python library is no longer supported, either. I’ll take a look at the zwave integration and try to restore its functionality with the latest version of openzwave-python. Let’s hope someone updates openzwave-python soon.

Looks like this pull request may solve the problem…

https://github.com/home-assistant/home-assistant/pull/25347