JoDehli / PyLoxone

Python Loxone binding
Apache License 2.0
164 stars 40 forks source link

The Gate / Garage Door is not available anymore #190

Closed AndreWeberHH closed 10 months ago

AndreWeberHH commented 10 months ago

Which Model do you use from loxone? Miniserver? Gen1 or Gen2? Gen 2

Which software version does your loxone use? 14.2.6.16

How did you install HomeAssistant? Over Hassio or manual install? Hassio

Which Version do you use of HomeAssistant? 2023.8.0

Describe the bug The Gate / Garage Door is not available anymore. I updated to the newest PyLoxone but it doesn't help.

Paste the error log with the following settings:

image
arjenvrh commented 10 months ago

Same here 0.5.0b8, only with the Garage cover, all others are working.

Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 510, in async_add_entities await asyncio.gather(*tasks) File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 619, in _async_add_entity device = dev_reg.async_get(self.hass).async_get_or_create( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: DeviceRegistry.async_get_or_create() got an unexpected keyword argument 'type'

JoDehli commented 10 months ago

@arjenvrh and @AndreWeberHH please update to the newest release. I have forgotten those covers as I do not use them.

arjenvrh commented 10 months ago

@JoDehli Works like a charm, thanks!

AndreWeberHH commented 10 months ago

@JoDehli Works perfect now. Thanks for the fast response and fix.