Skip to content

Disable heatmiser integration - #157816

Closed
epenet wants to merge 3 commits into
devfrom
epenet-20251203-0932
Closed

Disable heatmiser integration#157816
epenet wants to merge 3 commits into
devfrom
epenet-20251203-0932

Conversation

@epenet

@epenet epenet commented Dec 3, 2025

Copy link
Copy Markdown
Contributor

Breaking change

This integration is disabled because it references pyserial-asyncio, which does blocking I/O in the asyncio loop and is not maintained.

Proposed change

Linked to #116635

Type of change

  • Dependency upgrade
  • 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: fixes #
  • This PR is related to issue:
  • Link to documentation pull request:
  • Link to developer documentation pull request:
  • Link to frontend pull request:

Checklist

  • I understand the code I am submitting and can explain how it works.
  • The code change is tested and works locally.
  • Local tests pass. Your PR cannot be merged unless tests pass
  • There is no commented out code in this PR.
  • I have followed the development checklist
  • I have followed the perfect PR recommendations
  • The code has been formatted using Ruff (ruff format homeassistant tests)
  • Tests have been added to verify that the new code works.
  • Any generated code has been carefully reviewed for correctness and compliance with project standards.

If user exposed functionality or configuration variables are added/changed:

If the code communicates with devices, web services, or third-party tools:

  • The manifest file 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:

Copilot AI review requested due to automatic review settings December 3, 2025 08:34
@home-assistant

home-assistant Bot commented Dec 3, 2025

Copy link
Copy Markdown
Contributor

Hey there @andylockran, mind taking a look at this pull request as it has been labeled with an integration (heatmiser) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of heatmiser can trigger bot actions by commenting:

  • @home-assistant close Closes the pull request.
  • @home-assistant rename Awesome new title Renames the pull request.
  • @home-assistant reopen Reopen the pull request.
  • @home-assistant unassign heatmiser Removes the current integration label and assignees on the pull request, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the pull request.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the pull request.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR disables the heatmiser integration due to its dependency on pyserial-asyncio, which performs blocking I/O operations in the asyncio event loop and is no longer maintained. This is a breaking change that will prevent users from using this integration.

Key Changes

  • Added a disabled field to the manifest.json explaining why the integration is disabled
  • Removed the heatmiserV3 dependency from requirements_all.txt

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
homeassistant/components/heatmiser/manifest.json Added disabled field with explanation for disabling the integration
requirements_all.txt Removed heatmiserV3==2.0.3 dependency from the global requirements list

Comment thread homeassistant/components/heatmiser/manifest.json Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@thecode

thecode commented Dec 3, 2025

Copy link
Copy Markdown
Member

Looking at the installation usage for this integration and the issues I think this integration can be removed

@edenhaus

edenhaus commented Dec 3, 2025

Copy link
Copy Markdown
Member

The linked PR is from 2024. Why do we need to disable them now? Has something changed recently that we need to act now?

@edenhaus
edenhaus marked this pull request as draft December 3, 2025 09:52
@edenhaus edenhaus mentioned this pull request Dec 3, 2025
21 tasks
@epenet

epenet commented Dec 3, 2025

Copy link
Copy Markdown
Contributor Author

The linked PR is from 2024. Why do we need to disable them now? Has something changed recently that we need to act now?

It has been actively worked on since May - all other integrations and dependencies have been updated.
If we don't act now - then when?

@thecode

thecode commented Dec 3, 2025

Copy link
Copy Markdown
Member

The linked PR is from 2024. Why do we need to disable them now? Has something changed recently that we need to act now?

I think that we have huge benefit from dropping pyserial and switching to pyserial-asyncio, this platform for example has 5 active installations, but if you actually look at the issues there are issues since 2019 (and there is no GitHub history before that) that it is not working, which is why I suggested to remove it completely and not just disable which will need a future PR to cleanup anyhow. Similar situation for #157817

@andylockran

andylockran commented Dec 3, 2025 via email

Copy link
Copy Markdown
Contributor

@epenet

epenet commented Dec 3, 2025

Copy link
Copy Markdown
Contributor Author

The confusing part is that pyserial-asyncio is referenced, but doesn't seem used at all in the code. So just removing the reference should be fine (see library PR andylockran/heatmiserV3#98)

@epenet

epenet commented Dec 4, 2025

Copy link
Copy Markdown
Contributor Author

@epenet

epenet commented Dec 4, 2025

Copy link
Copy Markdown
Contributor Author

The linked PR is from 2024. Why do we need to disable them now? Has something changed recently that we need to act now?

It has been actively worked on since May - all other integrations and dependencies have been updated. If we don't act now - then when?

Also, it is easier to disable/enable than remove/re-add if someone is willing to take over the integration.

@epenet epenet mentioned this pull request Dec 9, 2025
21 tasks
@epenet

epenet commented Dec 9, 2025

Copy link
Copy Markdown
Contributor Author

closing in favour of #158304

@epenet epenet closed this Dec 9, 2025
@epenet
epenet deleted the epenet-20251203-0932 branch December 9, 2025 07:54
@github-actions github-actions Bot locked and limited conversation to collaborators Dec 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants