Skip to content

Add Websocket "config entries" methods#213

Merged
GrandMoff100 merged 29 commits intoGrandMoff100:devfrom
mj23000:add_websocket_config_entries
Mar 21, 2026
Merged

Add Websocket "config entries" methods#213
GrandMoff100 merged 29 commits intoGrandMoff100:devfrom
mj23000:add_websocket_config_entries

Conversation

@mj23000
Copy link
Contributor

@mj23000 mj23000 commented Sep 15, 2025

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 methods
  • Add config_entries/subscribe method
  • Ensure that get_entry_subentries and delete_entry_subentry work as intended

This PR also tweaks how the from_json() methods are used, so some feedback would be appreciated.

Kind regards

@mj23000 mj23000 force-pushed the add_websocket_config_entries branch 2 times, most recently from 1405327 to f619b30 Compare September 15, 2025 15:08
@mj23000 mj23000 force-pushed the add_websocket_config_entries branch from fb07c38 to 9292ae2 Compare September 22, 2025 07:49
@GrandMoff100 GrandMoff100 marked this pull request as draft September 24, 2025 06:17
@mj23000 mj23000 force-pushed the add_websocket_config_entries branch 3 times, most recently from 47fc054 to e445ecd Compare September 25, 2025 09:50
@mj23000 mj23000 force-pushed the add_websocket_config_entries branch 2 times, most recently from 1573d86 to c17206f Compare September 25, 2025 13:20
@mj23000 mj23000 force-pushed the add_websocket_config_entries branch 2 times, most recently from df11af5 to 940e60a Compare September 30, 2025 14:25
@mj23000
Copy link
Contributor Author

mj23000 commented Sep 30, 2025

I've added the missing method and testing for the new code.

adamlogan73
adamlogan73 previously approved these changes Mar 20, 2026
@mj23000 mj23000 dismissed adamlogan73’s stale review March 20, 2026 05:24

The merge-base changed after approval.

GrandMoff100
GrandMoff100 previously approved these changes Mar 21, 2026
@mj23000 mj23000 dismissed GrandMoff100’s stale review March 21, 2026 06:27

The merge-base changed after approval.

GrandMoff100
GrandMoff100 previously approved these changes Mar 21, 2026
@mj23000 mj23000 dismissed GrandMoff100’s stale review March 21, 2026 06:32

The merge-base changed after approval.

GrandMoff100
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 GrandMoff100 merged commit 4ef4c92 into GrandMoff100:dev Mar 21, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants