However, the "overall" switch switch.adaptive_lighting_AREA is not available. The following log entries seem related:
2024-04-08 15:58:57.543 ERROR (MainThread) [homeassistant.components.switch] Error adding entities for domain switch with platform adaptive_lighting
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 533, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 782, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1324, in add_to_platform_finish
await self.async_added_to_hass()
File "/config/custom_components/adaptive_lighting/switch.py", line 952, in async_added_to_hass
self.hass.bus.async_listen_once(
TypeError: EventBus.async_listen_once() got an unexpected keyword argument 'run_immediately'
2024-04-08 15:58:57.568 ERROR (MainThread) [homeassistant.components.switch] Error while setting up adaptive_lighting platform for switch
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 352, in _async_setup_platform
await asyncio.gather(*pending)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 533, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 782, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1324, in add_to_platform_finish
await self.async_added_to_hass()
File "/config/custom_components/adaptive_lighting/switch.py", line 952, in async_added_to_hass
self.hass.bus.async_listen_once(
TypeError: EventBus.async_listen_once() got an unexpected keyword argument 'run_immediately'
When adding a new adaptive lighting entity, jjj using the GUI, the "overall" switch for jjj is appearing as expected.
Steps to reproduce the behavior:
Update from v1.20.0 to v1.21.0 and restart HASS.
Home Assistant Adaptive Lighting Issue Template
Bug Reports
If you need help with using or configuring Adaptive Lighting, please open a Q&A discussion thread here instead.
Before submitting a bug report, please follow these troubleshooting steps:
Please confirm that you have completed the following steps:
Required information for bug reports:
Please include the following information in your issue.
Issues missing this information may not be addressed.
(If using Zigbee2MQTT), provide your configuration files (remove all personal information before posting):
devices.yaml
groups.yaml
configuration.yaml
⚠️; Warning REMOVE ALL of the PERSONAL INFORMATION BELOW before posting ⚠️;server
:user
:password
:pan_id
:network_key
:log_syslog
if you use thisDescribe the bug and how to reproduce it: Using HASS Core 2024.2.2 and Frontend 20240207.1, running on Docker.
On AL v1.20.0 the configuration YAML is read and the following switches are available in HASS:
After upgrading to version 1.21.0 using the same configuration YAML, the following switches are available in HASS:
However, the "overall" switch
switch.adaptive_lighting_AREA
is not available. The following log entries seem related:When adding a new adaptive lighting entity,
jjj
using the GUI, the "overall" switch forjjj
is appearing as expected.