Add Websocket "config entries" methods#213
Merged
GrandMoff100 merged 29 commits intoMar 21, 2026
Merged
Conversation
mj23000
force-pushed
the
add_websocket_config_entries
branch
2 times, most recently
from
September 15, 2025 15:08
1405327 to
f619b30
Compare
mj23000
force-pushed
the
add_websocket_config_entries
branch
from
September 15, 2025 15:11
f619b30 to
6156007
Compare
mj23000
had a problem deploying
to
Test Suite
September 21, 2025 00:15 — with
GitHub Actions
Failure
mj23000
force-pushed
the
add_websocket_config_entries
branch
from
September 22, 2025 07:49
fb07c38 to
9292ae2
Compare
GrandMoff100
marked this pull request as draft
September 24, 2025 06:17
mj23000
force-pushed
the
add_websocket_config_entries
branch
3 times, most recently
from
September 25, 2025 09:50
47fc054 to
e445ecd
Compare
mj23000
force-pushed
the
add_websocket_config_entries
branch
2 times, most recently
from
September 25, 2025 13:20
1573d86 to
c17206f
Compare
mj23000
force-pushed
the
add_websocket_config_entries
branch
2 times, most recently
from
September 30, 2025 14:25
df11af5 to
940e60a
Compare
Contributor
Author
|
I've added the missing method and testing for the new code. |
Some updates to dependencies and conftest were also required. Updated ruff version did formatting slightly different in a few files.
…nto fork/mj23000/add_websocket_config_entries
adamlogan73
previously approved these changes
Mar 20, 2026
mj23000
dismissed
adamlogan73’s stale review
March 20, 2026 05:24
The merge-base changed after approval.
GrandMoff100
previously approved these changes
Mar 21, 2026
mj23000
dismissed
GrandMoff100’s stale review
March 21, 2026 06:27
The merge-base changed after approval.
GrandMoff100
previously approved these changes
Mar 21, 2026
mj23000
dismissed
GrandMoff100’s stale review
March 21, 2026 06:32
The merge-base changed after approval.
GrandMoff100
previously approved these changes
Mar 21, 2026
Use sun.red_sun entity for logbook tests (sun.sun has no logbook entries). Replace for/else raise pattern with direct assertions in history tests.
GrandMoff100
approved these changes
Mar 21, 2026
adamlogan73
added a commit
that referenced
this pull request
Apr 3, 2026
* Add from_json to BaseModel to reduce duplicated code * Fix Websocket Error model by not requiring translation keys * Add method to get non-user flows in progress * Add disable/enable config entry methods * Add ignore flow method * Add method to get a filtered list of config entries * Add get entry subentry method * Add delete subentry method * Fix typing * Add Websocket endpoints to docstrings * Add config_entries subscribe method * Add testing * Add from_json to BaseModel to reduce duplicated code * Add method to get non-user flows in progress * Add disable/enable config entry methods * Add ignore flow method * Add method to get a filtered list of config entries * Add get entry subentry method * Add delete subentry method * Fix typing * Add Websocket endpoints to docstrings * Add config_entries subscribe method * Add testing * add missing testing. Some updates to dependencies and conftest were also required. Updated ruff version did formatting slightly different in a few files. * update ruff commands in github cicd pipeline * Update Python build_from version and fix websocket client fixture type * Fix test coverage for logbook and entity history tests Use sun.red_sun entity for logbook tests (sun.sun has no logbook entries). Replace for/else raise pattern with direct assertions in history tests. --------- Co-authored-by: Nathan Larsen <minecraftcrusher100@gmail.com> Co-authored-by: Adam Logan <adamlogan73@gmail.com> Co-authored-by: Nate <nlarsen23.student@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add most of the Websocket methods available in the config_entries.py file.
Missing from this PR so far:
Add testing for the newly added methodsAddconfig_entries/subscribemethodget_entry_subentriesanddelete_entry_subentrywork as intendedThis PR also tweaks how the
from_json()methods are used, so some feedback would be appreciated.Kind regards