Open johnqa opened 1 year ago
I have similar issue. I sucessully confured 8 better thermostat. One of them controls two real, all other controls single. All of the better themrostat are confugured to use external themperature and humidity sensors, all share the same outdoor soensor and wether service. When I tried to configure 9-th thermostat in exactly the same way (single real), it become "Unavailable" All real thermostats are identical Zigbee2MQTT and works without any problems by themselves.
Also seeing this with Bosch Sensor for IVT Geo 508.
2023-11-21 22:04:02.675 DEBUG (MainThread) [custom_components.better_thermostat.climate] better_thermostat Bättre Termostat: No previously hvac mode found on startup, turn bt to trv mode heat
2023-11-21 22:04:02.675 DEBUG (MainThread) [custom_components.better_thermostat.climate] better_thermostat Bättre Termostat: Startup config, BT hvac mode is heat, Target temp 19.0
2023-11-21 22:04:02.676 DEBUG (MainThread) [custom_components.better_thermostat.utils.controlling] better_thermostat Bättre Termostat: TO TRV set_temperature: climate.hc1_2 from: 19.0 to: None
2023-11-21 22:04:02.676 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/config/custom_components/better_thermostat/climate.py", line 833, in startup
await control_trv(self, trv)
File "/config/custom_components/better_thermostat/utils/controlling.py", line 268, in control_trv
await set_temperature(self, heater_entity_id, _temperature)
File "/config/custom_components/better_thermostat/utils/bridge.py", line 77, in set_temperature
return await self.real_trvs[entity_id]["adapter"].set_temperature(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/better_thermostat/adapters/generic.py", line 111, in set_temperature
await self.hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 2001, in async_call
processed_data: dict[str, Any] = handler.schema(service_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/voluptuous/validators.py", line 232, in __call__
return self._exec((Schema(val) for val in self.validators), v)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/voluptuous/validators.py", line 355, in _exec
raise e if self.msg is None else AllInvalid(self.msg, path=path)
File "/usr/local/lib/python3.11/site-packages/voluptuous/validators.py", line 351, in _exec
v = func(v)
^^^^^^^
File "/usr/local/lib/python3.11/site-packages/voluptuous/schema_builder.py", line 272, in __call__
return self._compiled([], data)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/voluptuous/schema_builder.py", line 818, in validate_callable
return schema(data)
^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/voluptuous/schema_builder.py", line 272, in __call__
return self._compiled([], data)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/voluptuous/validators.py", line 229, in _run
return self._exec(self._compiled, value, path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/voluptuous/validators.py", line 355, in _exec
raise e if self.msg is None else AllInvalid(self.msg, path=path)
File "/usr/local/lib/python3.11/site-packages/voluptuous/validators.py", line 353, in _exec
v = func(path, v)
^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/voluptuous/schema_builder.py", line 818, in validate_callable
return schema(data)
^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/voluptuous/schema_builder.py", line 272, in __call__
return self._compiled([], data)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/voluptuous/schema_builder.py", line 595, in validate_dict
return base_validate(path, iteritems(data), out)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/voluptuous/schema_builder.py", line 433, in validate_mapping
raise er.MultipleInvalid(errors)
voluptuous.error.MultipleInvalid: expected float for dictionary value @ data['temperature']
2023-11-21 22:04:02.676 DEBUG (MainThread) [custom_components.better_thermostat.utils.controlling] better_thermostat Bättre Termostat: TO TRV set_temperature: climate.hc1_2 from: 19.0 to: None
Setting temp to None seems to be the issue.
Prerequisites
Description
I have a bunch of Devolo Z-Wave radiators integrated in HA using Devolo Home Control integration, and although they worked fine last year I cannot make them work this year. I tried to remove and add them, remove Better Thermostat Integration, change settings, the result is always the same- Device Unavailable for the 2 z-wave TRVs that are controlled directly by Devolo hub.
I have to extra TRVs that are conected to a Devolo thermostat and that in turn is controlled by Better Thermostat with no issue.
I use BT 1.4.0 and HA 2023.11.1 but the issues started long time ago this year.
Additional Information
Debugging Logs:
Please have a look and let me know what am I doing wrong.
Thank you, John