Closed bouwew closed 4 months ago
You've left half of the issue template blank, please fill in the missing details so we can properly help you.
@th3w1zard1 Yeah I know, sorry, too much irrelevant information to add in my opinion :)
Anyway, I fixed the error myself in the local code, it was just a small mistake in what to assert.
Switch.py line 1419 should read: assert isinstance(adapt_color, bool | None)
in line with the init
of in line 1243: adapt_color: bool | None = None
Also, line 1418 should be corrected too as adapt_brightness
is also inited as bool | None
.
After capturing some logging, it turns out the error is caused by a light that is no longer present in HA but still is configured in the integration.
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.
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 this