Closed parliament119 closed 1 year ago
Hello @hthiery,
I‘d like you to review that pull request. I tried with Magenta switching plugs and it works for me. Regards, MattBavaria
@parliament119 could you please check and fix the failing pipelines. In addition some unittest and adding your devices you tested your change on to the tested devices section in the README would be great.
Thanks
@parliament119 could you please meld the fix commits (fix flake and fix response) to the corresponding commit?
thanks
Hello,
if you like, you can add following devices as “tested” as well.
I tested them both with the patch I provided as well as with that branch. Regards, MattBavaria
Thanks!
@MattBavaria @parliament119 just tagged to 0.6.8 and published on pypi
Great! Thank you!
@hthiery Thank very much, looking forward to new integration in home assistant docker.
Regards, MattBavaria
I opened up a Pull Request to fix the Home Assistant Integration.
To correctly detect Telekom HANFUN Lightbulbs which only support warm-white colors the provided functionbitmask needs to be checked for Bit 2: Licht/Lampe (from the http api).
For Telekom HANFUN plugs the Bit 15: an-/ausschaltbares Gerät/Steckdose/Lampe/Aktor needs to be checked. Bit 9: Schaltsteckdose seems to be only valid for AVM-proprietary devices.