I’d love to help, but I’m running an unsupported install of Home Assistant through Docker, and your integration for Tapo was installed manually; If there’s a way to run the code you mentioned and you can point me in the right direction, I’ll gladly post the output.
@arrival-spring did say in a previous reply that for the L530E bulbs he gets type=" SMART.TAPOBULB" and model=“L530 Series”
It works, thank you! I was browsing the logs and was just about to reply that indeed, the integration was setting up the bulbs as switches, but they work just fine now with yout latest update!
The brightness slider is spot on as far as I can tell.
Works great now with brightness! Super quick response when changing brightness, and also the slider on the lovelace ui card works flawlessly. Thanks for re-adding the 530 into your latest update.
I’m running a docker version of HASS like theVOID, but if there’s anything I can do to help you regarding colour let me know what to run and I’ll do it.
Hi guys, I’ve released a new version of integration that add support for color. I don’t know if work because I can’t test it. Try it and open an issue for any problem on my repository: https://github.com/petretiandrea/home-assistant-tapo-p100 (and rate a star ).
If the integration is installed with hacs, you can update it directly from hacs menu, otherwise re-install it manually.
Thanks! Unfortunately my bulbs (530e) are unavailable after this update. I tried removing and readding. Here’s my log:
Logger: homeassistant.components.light
Source: components/light/init.py:485
Integration: Light (documentation, issues)
First occurred: 19:24:12 (8 occurrences)
Last logged: 19:55:51
Error adding entities for domain light with platform tapo
Error while setting up tapo platform for light
Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 317, in async_add_entities await asyncio.gather(*tasks) File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 509, in _async_add_entity await entity.add_to_platform_finish() File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 530, in add_to_platform_finish self.async_write_ha_state() File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 295, in async_write_ha_state self._async_write_ha_state() File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 321, in _async_write_ha_state attr.update(self.state_attributes or {}) File “/usr/src/homeassistant/homeassistant/components/light/init.py”, line 485, in state_attributes data[ATTR_HS_COLOR] = (round(hs_color[0], 3), round(hs_color[1], 3)) TypeError: type NoneType doesn’t define round method
Hi all, I understand that @pedro96 has made lots of progress with their integration! I’m sorry I haven’t been very active but I’ve been really busy with other things. I will work on merging both our versions together to make one really good version
Thanks everyone, Fish
Thanks for the work! Sadly when i look for it with HACS it does not find it, and when i do the manual installation, it does not show up when i search for the integration
Hi, you said you got it to work, i also get the error “Platform error switch.tapo_p100_control - No module named ‘PyP100’”, but i do not know how to install it on the homeassistant
I run homeassistant on a raspberry pi 4, how can you do a pip install there? i tried over ssh, but only got a long error message