bachoo786
(Bachoo786)
February 15, 2025, 4:08pm
21
same here the native integration is not working for me keep getting this error:
File "/usr/local/lib/python3.13/site-packages/apyhiveapi/api/hive_async_api.py", line 288, in setState
resp = await self.request("post", url, data=jsc)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/apyhiveapi/api/hive_async_api.py", line 92, in request
raise HiveApiError
apyhiveapi.helper.hive_exceptions.HiveApiError
k-eker
(Kadir)
February 15, 2025, 4:15pm
22
Thanks @sdaly , the custom hive integration works.
1 Like
sdaly
(Stephen)
February 15, 2025, 4:47pm
23
The same fixed just got merged for the native integration but it might be Friday till you get the fix in the next release.
dev ← KJonline:update-pyhive-integration-version
opened 11:40PM - 14 Feb 25 UTC
## Breaking change
## Proposed change
Hive have made a recent change… to their API spec to require a user agent to be passed into the requests to their backend services. Due to this change the hive integration can no longer control devices.
This PR is to add the user agent to the payload when controlling devices.
Here is the change log:
https://github.com/Pyhass/Pyhiveapi/compare/v1.0.1...v1.0.2
## Type of change
- [x] Dependency upgrade
- [x] Bugfix (non-breaking change which fixes an issue)
- [ ] New integration (thank you!)
- [ ] New feature (which adds functionality to an existing integration)
- [ ] Deprecation (breaking change to happen in the future)
- [ ] Breaking change (fix/feature causing existing functionality to break)
- [ ] Code quality improvements to existing code or addition of tests
## Additional information
- This PR fixes or closes issue: #138524
- This PR is related to issue:
- Link to documentation pull request:
- Link to developer documentation pull request:
- Link to frontend pull request:
## Checklist
- [x] The code change is tested and works locally.
- [x] Local tests pass. **Your PR cannot be merged unless tests pass**
- [x] There is no commented out code in this PR.
- [x] I have followed the [development checklist][dev-checklist]
- [x] I have followed the [perfect PR recommendations][perfect-pr]
- [x] The code has been formatted using Ruff (`ruff format homeassistant tests`)
- [ ] Tests have been added to verify that the new code works.
If user exposed functionality or configuration variables are added/changed:
- [ ] Documentation added/updated for [www.home-assistant.io][docs-repository]
If the code communicates with devices, web services, or third-party tools:
- [x] The [manifest file][manifest-docs] has all fields filled out correctly.
Updated and included derived files by running: `python3 -m script.hassfest`.
- [ ] New or updated dependencies have been added to `requirements_all.txt`.
Updated by running `python3 -m script.gen_requirements_all`.
- [ ] For the updated dependencies - a link to the changelog, or at minimum a diff between library versions is added to the PR description.
To help with the load of incoming pull requests:
- [ ] I have reviewed two other [open pull requests][prs] in this repository.
[prs]: https://github.com/home-assistant/core/pulls?q=is%3Aopen+is%3Apr+-author%3A%40me+-draft%3Atrue+-label%3Awaiting-for-upstream+sort%3Acreated-desc+review%3Anone+-status%3Afailure
[dev-checklist]: https://developers.home-assistant.io/docs/development_checklist/
[manifest-docs]: https://developers.home-assistant.io/docs/creating_integration_manifest/
[quality-scale]: https://developers.home-assistant.io/docs/integration_quality_scale_index/
[docs-repository]: https://github.com/home-assistant/home-assistant.io
[perfect-pr]: https://developers.home-assistant.io/docs/review-process/#creating-the-perfect-pr
2 Likes
Great news as was getting the same issue on Friday.
While we’re all here, is it still everyone’s understanding that Hive are going to pull the plug on web access later this year, meaning that the existing native HA integration will cease to function?
gwatuk
(Gareth)
February 16, 2025, 7:05pm
26
@woodentop I wasn’t aware of that. Could you confirm the source of this information please.
sdaly
(Stephen)
February 16, 2025, 7:33pm
27
They mentioned they will close the online web portal on June 2024 (so could stop anytime) which we all think the API will stop working at same time. Let’s hope that is not the case but it has stopped me buying anything else Hive related.
So Hive have announced via an email I just received they plan on dropping their online web dashboard, 1st June 2024.
Presumably this will break how the Hive integration works?
They’re also dropping support for IFTTT, obviously trying to force people to use their subscription service.
I thought it was 2025 but I dug out the announcement email from Nov 2023 and you’re right, quote “From 1st June 2024 our Online Web Dashboard will close. From this date you will not be able to monitor or control your Hive products via the Online web dashboard.”
I wonder whether they’ve re-considered?
gwatuk
(Gareth)
February 17, 2025, 10:07am
29
Thanks @woodentop . That’s a great relief for me. I’ve spent a huge amount of time developing a really sophisticated heating system. I’d be very annoyed if I had to start again
Can confirm the update to the native integration solves the control issue
Hey. How do we update the native integration?
You can copy just the hive folder from GitHub to your custom components folder and then add a manifest.json file. HA will load that as a custom component instead
EDIT. the fix is in 2025.2.5 released now so no need to do the above
1 Like
Just wanted to say thank you to everyone involved in maintaining and updating these integrations. It’s now fixed for me after the latest update and my heating system feels usable again. No more opening the eyeball-searing hive app or worse… manually changing the thermostats like a cave man!