This PR removes all code related to the Home Assistant integration in the p2000.py script. The Home Assistant integration allows for posting P2000 messages to Home Assistant via the REST API. However, it has been identified that this functionality is no longer needed and can be safely removed.
Summary of Changes
Removed the 'post_data' method from the 'Main' class in the p2000.py script.
Removed the call to the 'post_data' method in the 'post_thread_call' method of the 'Main' class.
Removed the code that initializes the Home Assistant related configuration in the constructor of the 'Main' class.
Updated the 'config.ini' file to remove the Home Assistant related configuration.
These changes ensure that the p2000.py script no longer has any functionality that interacts with Home Assistant, making it more focused and streamlined.
Fixes #9.
To checkout this PR branch, run the following command in your terminal:
git checkout {pull_request.branch_name}
🎉 Latest improvements to Sweep:
Getting Sweep to format before committing! Check out Sweep Sandbox Configs to set it up.
We launched our browser extension making it faster to make Sweep issues.
We released a demo of our chunker, where you can find the corresponding blog and code.
💡 To get Sweep to edit this pull request, you can:
Leave a comment below to get Sweep to edit the entire PR
Leave a comment in the code will only modify the file
Edit the original issue to get Sweep to recreate the PR from scratch
Description
This PR removes all code related to the Home Assistant integration in the p2000.py script. The Home Assistant integration allows for posting P2000 messages to Home Assistant via the REST API. However, it has been identified that this functionality is no longer needed and can be safely removed.
Summary of Changes
These changes ensure that the p2000.py script no longer has any functionality that interacts with Home Assistant, making it more focused and streamlined.
Fixes #9.
To checkout this PR branch, run the following command in your terminal:
🎉 Latest improvements to Sweep:
💡 To get Sweep to edit this pull request, you can: