-
-
Notifications
You must be signed in to change notification settings - Fork 110
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 entity is no longer provided by the tapo integration #825
Comments
Hi, Some logs: ERROR (MainThread) [custom_components.tapo.coordinators] Error fetching tapo data: Unexpected exception: [homeassistant.components.light] Error adding entity None for domain light with platform tapo Traceback (most recent call last): |
Device info Same Issue for Tapo Smart Bulb L535. |
Same issue with a L630 (firmware 1.1.2). HA version 2025.1.0 |
Same issue with a L530 |
Exactly the same here. Light entity does not exist all of a sudden. 2025.1 has broken the custom tapo integration for lights L530 |
Same for me today, HA 2025.1.0 L630 bulb (firmware 1.1.2) has become unavailable, my Tapo plugs are still working |
Same on this with HA 2025.1.0 L530 |
Same here with two L530 but no issue so far with my L900. No worry with the plugs. |
I don't think we need all of the "Me too" comments, unless you have something new to add. Please subscribe to the issue instead. The Tapo integration has had this deprecation WARNING for ages now. I'm guessing this is the culprit?
|
Hummm.... Surprisingly, same issue with my Govee H7020 it stopped working exactly at the same time as the Tapo L530: 23:24:43 on Jan 3rd. And now both return the same error at statup: TAPO: Logger: homeassistant.components.light Error adding entity None for domain light with platform tapo GOVEE: Logger: homeassistant.components.light Error adding entity None for domain light with platform govee |
Yep, the Govee case would confirm your assumption. |
This seems to fix the issue for me, my light is working again, raised a PR #826 |
Interesting light brightness percentage glitch on HA Gui, I take it that's an HA issue |
@djhworld Sadly the control is completely disabled and cannot be toggled by me (everything same version as you, except L530 HW is 3.0 and FW is 1.1.9) |
Hey boblemus, Have you updated the python script and restarted HA, as per: If not you will need to wait for HACS component update to come through. |
@edgicat Ahh - I missed the part about modifying the Python script. Apparently that did the trick - thank you!! |
Thank you, I made the change, it's now working fine again 👍 |
Same issue with a L630 (firmware 1.1.2). HA version 2025.1.0 |
Have implemented the change mentioned in PR 826 however with this change it seems to be affecting light groups in homeassistant, for example i have three bathroom lights combined into a bathroom lights group and after this change i can no longer group these lights together for them to work (the entity shows as unavailable, have deleted and readded and still the same). Rolling back the update and changes to light.py resolve the issue |
Changing lines 54-56 in light.py to |
@Av4K100 I've updated the PR with a similar change - does this fix the group issue? |
@djhworld I've retested this on with my P100s in a group. The error still occurs. |
I have 2 groups, a generic group with 3 L530 and 1 P110, and a light group
with the same 3 L530.
light.py has been modified as such:
# self._attr_supported_features = (
# LightEntityFeature.EFFECT if self._effects else []
# )
self._attr_supported_features = (LightEntityFeature.EFFECT) if
self._effects else ()
Prior to commenting the above out and adding the one line the generic group
worked and the light group didn't (unavailable). No change to this
behaviour can be observed after modifying as above and restarting HA.
…On Sun, Jan 5, 2025 at 11:21 AM Daniel Harper ***@***.***> wrote:
@Av4K100 <https://github.com/Av4K100> I've updated the PR with a similar
change - does this fix the group issue?
—
Reply to this email directly, view it on GitHub
<#825 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFPHUT44CTKYOYBKEYZPLJD2JEBRVAVCNFSM6AAAAABUS5ONMCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNZRGU3TKNRTGY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
…ere are no effects Fixes petretiandrea#825
Can confirm. Removing "if self._effects else ()" made both generic and light groups work. |
Looks like we have a fix in #826 to return |
For reference looks like this issue was caused by this home-assistant/core#132371 |
@carvan. Yes. The as shown in theatest commit. |
Oh ok that makes sense then. I honestly just copied it from the other post without even reading it assuming it was correct. Thank you |
Does anyone knows if Home Assistant Core 2025.1.2 version, solve the problem or we have to do it manually again? |
I'm on latest everything and all seems good for me now. |
Home Assistant
Core 2025.1.0
Supervisor 2024.12.3
Operating System 14.1
Frontend 20250103.0
Version of the integration
tapo 3.1.2
Configuration
L510
da TP-Link
Firmware: 1.1.9
Hardware: 3.0
Describe the bug
The tapo component is loaded and some integration entries are available (eg. overheat and signal level), but the main entry for the light component is missing.
Debug log
The text was updated successfully, but these errors were encountered: