Skip to content

Move classes into separate files to be compliant with HA guidelines#303

Merged
sveinse merged 1 commit intocustom-components:masterfrom
sveinse:feature-move-entity-and-coordinator
Aug 26, 2025
Merged

Move classes into separate files to be compliant with HA guidelines#303
sveinse merged 1 commit intocustom-components:masterfrom
sveinse:feature-move-entity-and-coordinator

Conversation

@sveinse
Copy link
Collaborator

@sveinse sveinse commented Aug 26, 2025

  • Everything is moved out of init.py:
  • ZaptecManager and supporting classes into manager.py
  • ZaptecUpdateCoordinator into coordinator.py
  • ZaptecBaseEntity into entity.py
  • Fix ruff errors in these new files

Fix #259

* Everything is moved out of __init__.py:
* ZaptecManager and supporting classes into manager.py
* ZaptecUpdateCoordinator into coordinator.py
* ZaptecBaseEntity into entity.py
@sveinse sveinse added this to the v0.8.3 milestone Aug 26, 2025
Copy link
Contributor

@steinmn steinmn left a comment

Choose a reason for hiding this comment

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

LGTM

@sveinse sveinse merged commit 69ef76a into custom-components:master Aug 26, 2025
4 checks passed
@sveinse sveinse deleted the feature-move-entity-and-coordinator branch August 26, 2025 20:28
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.

Split __init__.py into entity.py and coordinator.py

2 participants