Pyhiveapi
Pyhiveapi copied to clipboard
A python library to interface with the hive home api
**Describe the bug** When `pyhiveapi` is [packaged via `unasync`](https://github.com/Pyhass/Pyhiveapi/blob/05d5ae8a664160e2056906b24bba44e80729b52a/setup.py#L23-L33), it removes the `await` from [this `asyncio.Lock` acquisition in `HiveSession.updateData`](https://github.com/Pyhass/Pyhiveapi/blob/05d5ae8a664160e2056906b24bba44e80729b52a/pyhiveapi/apyhiveapi/session.py#L328) but otherwise leaves the `asyncio.Lock` in place. As a result, calling...
im trying to use the library as standalone to get the required tokens to use to integrate with my own automation the problem im having is if i use the...
**Is your feature request related to a problem? Please describe.** When trying to get the library to work standalone, I find I lack a concrete working example of how to...
Hi I'm simply using pyhiveapi to pull data from hive periodically. It has worked fine for months - but now they have introduced mandatory 2fa - I would have to...
This is being tested and running autonomously OUTSIDE home assistant. auto_poll.py is a test rig to poll the Hive every minute and upload to an influx db. It still needs...
Hi all, I'm half expecting this to be my misunderstanding, but I'm having problems getting authorised to the point of getting access to my account data. I am able to...
**Describe the bug** This project has an invalid Python version constraint. ``` >=3.6.* ``` https://github.com/Pyhass/Pyhiveapi/blob/3f3fad30c59b34a1c460e77d06c3c3a7a3d8ba54/setup.cfg#L25 While `pip` might accept it, other Python package managers are not accepting it. **Expected behavior**...
**Describe the bug** mins and temp data types cannot be used in comparsion ( i get an error) - mins is a str for example if mins > 0 and...
This adds support for the `homeId` parameter as suggested by @martintoreilly in #32 This also moves `homeId` out of urls where used and into the param dict. Caveats: - Devices...
getAll() in hive_async_api.py calls self.request("get", url) and then immediately accesses resp.status without checking if resp exists. There are paths out of the request() method that do not return a valid...