1

I'm using Home Assistant and I'm trying to fix this GitHub issue: https://github.com/home-assistant/core/issues/75739

In short, what happens is that 2 plugins (toshiba-ac and solaredge) conflict with each other. The error we get is requests.get() takes 1 positional argument but 2 were given. After doing some digging, the get that is causing a problem is being done here: https://github.com/bertouttier/solaredge/blob/master/solaredge/solaredge.py (line 55 and so on).

Looking at the relevant dependencies, I see:

requests's latest version is 2.28.2 (see here).

Once I remove home-assistant-toshiba-ac, solaredge works fine. So it seems like a conflict, but following the dependency tree, I don't understand how that's possible. To me, it seems both are using the latest version of requests.

I have limited Python knowledge but I'd happy to learn and do the work on this. Can someone please point me in the right direction to help solve this issue? Any tips would be welcome!

Thanks!

Bart
  • 769
  • 1
  • 5
  • 9

0 Answers0