Is anybody else experiencing problems with the ‘Circadian Lighting’ custom component? Since the latest update (I have also installed 2023.6.1) my circadian switches report an error when trying to turn them on;
Failed to call service switch/turn_on. Passing coroutines is forbidden use tasks explicitly.
I have Circadian installed via HACS and it is up to date as far as I can tell. Here is an example from the logs;
2023-06-09 10:00:26.483 ERROR (MainThread) [homeassistant.util.logging] Exception in _update_switch when dispatching 'circadian_lighting_update': ()
Traceback (most recent call last):
File "/config/custom_components/circadian_lighting/switch.py", line 322, in _update_switch
await self._adjust_lights(lights or self._lights, transition)
File "/config/custom_components/circadian_lighting/switch.py", line 377, in _adjust_lights
await asyncio.wait(tasks)
File "/usr/local/lib/python3.11/asyncio/tasks.py", line 415, in wait
raise TypeError("Passing coroutines is forbidden, use tasks explicitly.")
TypeError: Passing coroutines is forbidden, use tasks explicitly.
I appreciate this is something better reported in the Circadian repo, I just wanted to check if anyone else has experienced this as it’s a very obvious one when you notice your lights are way brighter than normal at bedtime and I understood it to be quite a popular component.
Hello! Please tell me what the problem may be. After the update on 2023.06, errors appeared:
Logger: homeassistant.setup
Source: setup.py:377
First occurred: 12:34:53 (3 occurrences)
Last logged: 12:34:53
Unable to prepare setup for platform xiaomi_miot_raw.switch: Platform not found (Exception importing custom_components.xiaomi_miot_raw.switch).
Unable to prepare setup for platform xiaomi_miot_raw.number: Platform not found (Exception importing custom_components.xiaomi_miot_raw.number).
Unable to prepare setup for platform xiaomi_miot_raw.select: Platform not found (Exception importing custom_components.xiaomi_miot_raw.select).
are the errors related to the update, or is the integration just broken?
That’s from node red or actions outside HA. If you have state changes outside HA, they don’t tell you who did what. Node reds connection to HA treats does not create context.
I am curious about the Python 3.11 performance improvements. I have not seen any actual measurements or metrics anywhere, and am curious if anyone has any specific numbers and examples to share.
Short of looking through the whole changelog (which I will try, but I doubt I will get much of the big picture), I’d also be interested more generally in the kinds of things that have better performance (loading times? backend request responses? automation triggeering? media streaming?). Glad to see that they did specifically mention SQLite!
I guess you are right, or it could possibly be from Alexa or Google Home ?
In which case the entity is controlled directly and HA only sees the state change, not knowing where it came from, right?
I’ve created a temporary fix for the Bluetooth Tracker / PyBluez issue!
NOTE: It’s only intended for docker users, as that’s what I use, but maybe it could be adapted to help others.
I have the same situation. Enabled a number of disabled entities but Solar Irradiance is not listed in the integration under enabled or disabled entities. Does anyone know whether that field is provided for all Accuweather locations or is it region/country specific? I am in Ireland.
first update this year that doesn’t break anything for me. well, i get the “command line…” warning, but at least it’s clear what i have to do to fix it.
Command Line “Button” in addition to Switch will be interesting.
What is the path to use network folders in dashboards and automations ?
Default media folder are so broken, can’t read picture on a dashboard and www folder has cache so useless for picture, maybe network folder will change those big gaps…