peribeir / homeassistant-rademacher

This custom integration provides access to Rademacher Devices connected to a HomePilot (or Start2Smart) bridge.
GNU General Public License v3.0
56 stars 11 forks source link

Error with v1.9.0 #48

Closed thmnxo4 closed 2 years ago

thmnxo4 commented 2 years ago

Logger: custom_components.rademacher Source: custom_components/rademacher/init.py:67 Integration: Rademacher HomePilot (documentation, issues) First occurred: 08:48:53 (12 occurrences) Last logged: 08:54:22

Unexpected error fetching rademacher data: 'slatposition' Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 205, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 164, in _async_update_data return await self.update_method() File "/config/custom_components/rademacher/init.py", line 67, in async_update_data return await manager.update_states() File "/usr/local/lib/python3.10/site-packages/homepilot/manager.py", line 88, in update_states device.update_state(states[did]) File "/usr/local/lib/python3.10/site-packages/homepilot/cover.py", line 101, in update_state self.cover_tilt_position = 100 - state["statusesMap"][ KeyError: 'slatposition'