Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Legrand netatmo thermostat entitie doesn't work #528

Open
Idaho947 opened this issue Nov 5, 2023 · 0 comments
Open

Legrand netatmo thermostat entitie doesn't work #528

Idaho947 opened this issue Nov 5, 2023 · 0 comments

Comments

@Idaho947
Copy link

Idaho947 commented Nov 5, 2023

Hello,

I'm on the latest version on the deconz intergration and my server is on 2.23.2
On the on\off mode, everything is OK. When I pass it on wire pilot mode, the consumption is OK, but the thermostat is available.
image

In the system journal I see that :
image

`Logger: homeassistant
Source: components/deconz/climate.py:215
First occurred: 17:42:58 (4 occurrences)
Last logged: 17:50:10

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/pydeconz/gateway.py", line 210, in session_handler
self.events.handler(self.websocket.data)
File "/usr/local/lib/python3.11/site-packages/pydeconz/interfaces/events.py", line 66, in handler
callback(event)
File "/usr/local/lib/python3.11/site-packages/pydeconz/interfaces/api_handlers.py", line 184, in process_event
self.process_item(event.id, event.changed_data)
File "/usr/local/lib/python3.11/site-packages/pydeconz/interfaces/api_handlers.py", line 193, in process_item
handler.process_item(id, raw)
File "/usr/local/lib/python3.11/site-packages/pydeconz/interfaces/api_handlers.py", line 73, in process_item
obj.update(raw)
File "/usr/local/lib/python3.11/site-packages/pydeconz/models/api.py", line 78, in update
callback()
File "/usr/src/homeassistant/homeassistant/components/deconz/deconz_device.py", line 138, in async_update_callback
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 743, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 843, in _async_write_ha_state
state, attr = self._async_generate_attributes()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 786, in _async_generate_attributes
attr.update(self.state_attributes or {})
^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 316, in state_attributes
hass, self.current_temperature, temperature_unit, precision
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/deconz/climate.py", line 215, in current_temperature
return self._device.scaled_temperature
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pydeconz/models/sensor/thermostat.py", line 387, in scaled_temperature
return round(self.temperature / 100, 1)
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pydeconz/models/sensor/thermostat.py", line 382, in temperature
return self.raw["state"]["temperature"]
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
KeyError: 'temperature'
andLogger: homeassistant
Source: components/deconz/deconz_event.py:206
First occurred: 17:46:14 (4 occurrences)
Last logged: 18:01:14

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/pydeconz/gateway.py", line 210, in session_handler
self.events.handler(self.websocket.data)
File "/usr/local/lib/python3.11/site-packages/pydeconz/interfaces/events.py", line 66, in handler
callback(event)
File "/usr/local/lib/python3.11/site-packages/pydeconz/interfaces/api_handlers.py", line 184, in process_event
self.process_item(event.id, event.changed_data)
File "/usr/local/lib/python3.11/site-packages/pydeconz/interfaces/api_handlers.py", line 193, in process_item
handler.process_item(id, raw)
File "/usr/local/lib/python3.11/site-packages/pydeconz/interfaces/api_handlers.py", line 73, in process_item
obj.update(raw)
File "/usr/local/lib/python3.11/site-packages/pydeconz/models/api.py", line 78, in update
callback()
File "/usr/src/homeassistant/homeassistant/components/deconz/deconz_event.py", line 206, in async_update_callback
or self._device.action not in SUPPORTED_DECONZ_ALARM_EVENTS
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pydeconz/models/sensor/ancillary_control.py", line 96, in action
return AncillaryControlAction(self.raw["state"]["action"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/enum.py", line 712, in call
return cls.new(cls, value)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/enum.py", line 1135, in new
raise ve_exc
ValueError: 'already_disarmed' is not a valid AncillaryControlAction`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant