After some reading on similar issues and many other posts, I managed to work around the issue. I collect here my findings for further reference, being the main source of information this post (Eurotronic Spirit Thermostats firmware issues)
- OpenZwave device configuration is not up to date with the latest changes in https://github.com/OpenZWave/open-zwave...so it’s advisable to override the embedded configuration.
- Checkout the contents of https://github.com/OpenZWave/open-zwave/tree/master/config (I stored it under /home/homeassistant/.homeassistant/openzwave_config)
- Edit your zwave section in the configuration.yaml like:
zwave:
usb_path: /dev/ttyACM0
network_key: !secret zwave_network_key
device_config: !include zwave_device_config.yaml
config_path: /home/homeassistant/.homeassistant/openzwave_config
- Unfortunately the valve position is not pick up by HASS at this moment. This is discussed in https://github.com/home-assistant/core/issues/14526 and this code is a patch that provides a light dimmer entity that can be used to read/write the valve opening https://raw.githubusercontent.com/rweglarz/home-assistant/f65de53f4727e10e80ea71bc607a74486205d10c/homeassistant/components/zwave/discovery_schemas.py to apply this patch:
- Apply the relevant changes to your discover_schemas.py in your HASS installation by locating and editing the file (I suggest to do only the relevant changes instead of replacing the file). Those are my lines added to the file from version 0.115.3:
@@ -185,6 +185,11 @@ DISCOVERY_SCHEMAS = [
],
const.DISC_OPTIONAL: True,
},
+ 'valve_state': {
+ const.DISC_COMMAND_CLASS: [
+ const.COMMAND_CLASS_SWITCH_MULTILEVEL],
+ const.DISC_OPTIONAL: True,
+ },
"zxt_120_swing_mode": {
const.DISC_COMMAND_CLASS: [const.COMMAND_CLASS_CONFIGURATION],
const.DISC_INDEX: [33],
@@ -294,10 +299,12 @@ DISCOVERY_SCHEMAS = [
const.DISC_COMPONENT: "light",
const.DISC_GENERIC_DEVICE_CLASS: [
const.GENERIC_TYPE_SWITCH_MULTILEVEL,
+ const.GENERIC_TYPE_THERMOSTAT,
const.GENERIC_TYPE_SWITCH_REMOTE,
],
const.DISC_SPECIFIC_DEVICE_CLASS: [
const.SPECIFIC_TYPE_POWER_SWITCH_MULTILEVEL,
+ const.SPECIFIC_TYPE_THERMOSTAT_GENERAL_V2,
const.SPECIFIC_TYPE_SCENE_SWITCH_MULTILEVEL,
const.SPECIFIC_TYPE_NOT_USED,
],
- Restart HASS after changing the file (no need to remove/add device) and a new Light device should appear like (light.eurotronic_eur_spiritz_wall_radiator_thermostat_level) which will show the valve opening percentage and can be used to change the value when the “Manufacturer Specific” mode is selected.