Skip to content
Snippets Groups Projects
Unverified Commit f5fa7e44 authored by Markus Bong's avatar Markus Bong Committed by GitHub
Browse files

Fix devolo sensor subscriber (#37337)

parent d08d00da
No related branches found
No related tags found
No related merge requests found
...@@ -80,7 +80,7 @@ class DevoloMultiLevelDeviceEntity(DevoloDeviceEntity): ...@@ -80,7 +80,7 @@ class DevoloMultiLevelDeviceEntity(DevoloDeviceEntity):
def _sync(self, message=None): def _sync(self, message=None):
"""Update the multi level sensor state.""" """Update the multi level sensor state."""
if message[0].startswith("devolo.MultiLevelSensor"): if message[0] == self._multi_level_sensor_property.element_uid:
self._state = self._device_instance.multi_level_sensor_property[ self._state = self._device_instance.multi_level_sensor_property[
message[0] message[0]
].value ].value
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment