Closed Makestudio20 closed 8 months ago
Just bumping this because I'm curious if anyone else is having this issue? Home Assistant does recognise the shades in the integration, but when clicking the device it shows: "this entity is no longer provided by the comfort_bridge integration with the above log details... Would be great if we could get this working. I don't have enough experience with programming myself unfortunately.
@Makestudio20 Can you verify that it works after https://github.com/jankrib/ha-xcomfort-bridge/pull/28
Thanks very much for the fix! Actually the XComfort Bridge itself annoyed me so much that I have decided to swap the devices I used for Shelly's. So I can't check if it works anymore. Sorry that this caused you extra work, hopefully someone else might still think this is a useful update.
First of all, great work on putting this to work. Works brilliant for my light that are connected with the X Comfort Bridge.
I do get an error with my sunshades though when Home Assistant is loading this platform "Error adding entities for domain cover with platform xcomfort_bridge". This is what I find in the log. Any idea on how I can fix this?
Logger: homeassistant.components.cover Source: helpers/entity_platform.py:507 Integration: Cover (documentation, issues)
Error adding entities for domain cover with platform xcomfort_bridge Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 507, in async_add_entities await asyncio.gather(*tasks) File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 752, in _async_add_entity await entity.add_to_platform_finish() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1057, in add_to_platform_finish self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 779, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 879, in _async_write_ha_state state, attr = self._async_generate_attributes() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 822, in _async_generate_attributes attr.update(self.state_attributes or {}) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/cover/init.py", line 284, in state_attributes if (current := self.current_cover_position) is not None: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/xcomfort_bridge/cover.py", line 149, in current_cover_position return 100 - self._state.position