New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Light switch is unavailable if made from switch template #42984
Comments
Maybe a weird question (and probably a bit off-topic as well). But... euhm... why are you using a switch template and use the light switch to convert it into a light? Why not use a light template directly? |
light documentation |
@frenck To have a clean code :) Please note, I have a lot of similar switch templates (which handle a power outage) and not of them are used for lights. Until this bug is fixed, I have already converted all of them into light templates. Thanks! |
I think this is the same issue as #43457 |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
Yes, this is still actual. |
Same problem here, some lights are unavailable but the original switch is. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
Yes, this is still actual. |
The same issue occurs for me when just turning a switch into a light using the Light Switch platform. In other words, this occurs even when not using switch templates, it seems to affect any kind of switch that is turned into a Light Switch. |
Problem is still the same indeed, anything turned into a light switch is unavailable after 1 or 2 uses |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
Yes, this is still actual. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
Yes, this is still actual. |
Can those having problems post the template light configuration in YAML? Also, the light entities that are used within the template light or light switch, which integration/component ultimately supports those light entities? |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
Yes, this is still actual. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
Yes, this is still actual. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
Yes, this is still actual. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
Yes, this is still actual. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
Yes, this is still actual. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
Yes, this is still actual. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
Yes, this is still actual. |
The problem
After HA restart, a light switch made from a switch template remains unavailable until the switch changed its state. This bug is introduced in 0.117, earlier it worked as expected.
Environment
Problem-relevant
configuration.yaml
switch.readinglamp
comes from Xiaomi Gateway (Aqara) UI integration.Traceback/Error logs
Additional information
N/A
The text was updated successfully, but these errors were encountered: