Cosmin Luță
Cosmin Luță
Yeah, the library doesn't support RPGGeek/VideoGameGeek ☹️ and I'm not sure it's only a matter of removing the hardcoded stuff (the API responses might have a slightly different structure for...
I started to work on this a while ago, but I haven't made much progress. I _believe_ I was trying to organize the API around the concept of "thing" instead...
I pushed [feature/support-rpggeek](https://github.com/lcosmin/boardgamegeek/tree/feature/support-rpggeek) with the code I had. If you want to give it a shot and implement something supporting RPGGeek too, please do :)
> * `BGGClient.game()` can now return one of three object types `BoardGame`, `VideoGame` or `RPGItem`. These have only the properties relevant for that type e.g. no genre on board games...
I'm also seeing this with `plugp100==4.0.3` in the `home-assistant-tapo-p100` integration (v2.13.0). ``` 024-01-22 11:06:45.719 DEBUG (MainThread) [plugp100.protocol.securepassthrough_transport] Will perform handshaking... 2024-01-22 11:06:45.719 DEBUG (MainThread) [plugp100.protocol.securepassthrough_transport] Generating keypair 2024-01-22 11:06:45.727 DEBUG...
The problem is here: https://github.com/petretiandrea/plugp100/blob/main/plugp100/protocol/klap_protocol.py#L44 `get_host()` has been [deprecated](https://urllib3.readthedocs.io/en/1.26.8/reference/urllib3.util.html#urllib3.util.get_host) and it needs to be replaced. Something like: ``` self._host = urllib3.util.parse_url(self._base_url).host ``` fixed the HACS integration for me (but I'd...