JoDehli / PyLoxone

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

[Bug]: switch/turn_on not possible #270

Closed Stijnvdj closed 1 week ago

Stijnvdj commented 1 week ago

Describe the bug

When I want to call a switch/turn_on on a switch I created within Loxone, I get this message; Kan service switch/turn_on niet aanroepen. Detected that custom integration 'loxone' calls async_fire from a thread at custom_components/loxone/switch.py, line 257: self.hass.bus.async_fire(. Please report it to the author of the 'loxone' custom integration.

Firmware of your Miniserver

14.7.2.23

HomeAssistant install method

Directly on a Raspberry Pi (without Docker, or another container)

Version of HomeAssistant

Core: 2024.5.2 Supervisor: 2024.04.4

Version of Pyloxone

0.4.11

Update pyloxone

Yes

Log

Kan service switch/turn_on niet aanroepen. Detected that custom integration 'loxone' calls async_fire from a thread at custom_components/loxone/switch.py, line 257: self.hass.bus.async_fire(. Please report it to the author of the 'loxone' custom integration.

Stijnvdj commented 1 week ago

I think I found the solution in a previous bug. Is it correct that I have to downgrade home assistant to an older version?

Ch0112 commented 1 week ago

Ich habe das selbe Problem mit dem aktuellen Version von Home Assistant und habe ein Backup eingespielt, damit alles wieder funktioniert. Fehlermeldung PyLoxone HA

Lesani commented 1 week ago

That was fixed in 0.6.5 by JoDehli, However for some reason PyLoxone does not show up in the default HA updates available list, you need to go into HACS and redownload it to get the newest version

image

JoDehli commented 1 week ago

@Stijnvdj the 0.4.11 is from Nov 18, 2023. It is really old. Please update as soon as possible.

Stijnvdj commented 1 week ago

Thank you all for the help!