bosch-thermostat / home-assistant-bosch-custom-component

HA custom component for Bosch thermostats
Apache License 2.0
234 stars 45 forks source link

Update v0.24.1 #367

Closed marekvich closed 10 months ago

marekvich commented 10 months ago

After this new update v0.24.1 all sensors are False.

Snímek obrazovky 2024-01-08 094350 Snímek obrazovky 2024-01-08 094506

honikos commented 10 months ago

bosch_scan.json same here

Logger: homeassistant.util.logging Source: util/logging.py:102 First occurred: 09:14:59 (15 occurrences) Last logged: 09:28:53

Exception in async_update when dispatching 'bosch_sensor_update': () Traceback (most recent call last): File "/config/custom_components/bosch/sensor/base.py", line 120, in async_update self._state = None if self._attr_state_class == "measurement" else self._bosch_object.state ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 338, in _getter return getattr(o, private_attr_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'BoschSensor' object has no attribute '__attr_state_class'

Version

But not all sensors:

Bildschirmfoto vom 2024-01-08 09-53-47

MajorTomD commented 10 months ago

Same here! Most sensores shows 'false'.

pszafer commented 10 months ago

Fixed regression in v0.24.2