mihai-dinculescu / tapo

Unofficial Tapo API Client. Works with TP-Link Tapo smart devices. Tested with light bulbs (L510, L520, L530, L610, L630), light strips (L900, L920, L930), plugs (P100, P105, P110, P115, P300), hubs (H100), switches (S200B) and sensors (KE100, T100, T110, T300, T310, T315).
MIT License
372 stars 37 forks source link

H100 initialization attempt returns error #203

Closed nathanja closed 5 months ago

nathanja commented 5 months ago

Just saw that H100 just got supported - exciting! But when I played with it (in python), I got the following AttributeError: 'builtins.ApiClient' object has no attribute 'h100'. Did you mean: 'p100'?`

I'm not a developer so I'm not sure how to fix the issue.

mihai-dinculescu commented 5 months ago

Which version are you using? The H100 support has been added only to the main branch. It hasn't been released as a published version just yet.

nathanja commented 5 months ago

Ah that's probably why, I've been using pip. I'll pull down from source directly shortly and let you know if I still have the issue.

p.s. just in case I have trouble, when would you expect the next version to be published?

mihai-dinculescu commented 5 months ago

There are a few other changes I want to add before releasing. It shouldn't be longer than a week or two.

nathanja commented 5 months ago

Managed to get it working from source - thanks!