Skip to content

Comments

Cleanup: Rename class Account to Zaptec#196

Merged
sveinse merged 2 commits intocustom-components:masterfrom
sveinse:feature-rename-to-zaptec
Jul 16, 2025
Merged

Cleanup: Rename class Account to Zaptec#196
sveinse merged 2 commits intocustom-components:masterfrom
sveinse:feature-rename-to-zaptec

Conversation

@sveinse
Copy link
Collaborator

@sveinse sveinse commented Jul 16, 2025

This PR contains the rename of class Account to class Zaptec to make it more descriptive and consistent. This is a part of a series of cleanups to improve the API for the Zaptec facing API.

NOTE This is technically a API change, but since the only consumers of the API are the HA integration, this should be fine. The PR does not contain any functional change.

  • Rename members from self._account to self.zaptec in Installation and Charger objects
  • Rename self.account in ZaptecFlowHandler

sveinse added 2 commits July 16, 2025 02:25
* Rename members from self._account to self.zaptec in Installation and Charger objects
* Rename self.account in ZaptecFlowHandler
@sveinse
Copy link
Collaborator Author

sveinse commented Jul 16, 2025

I reviewed it a second time, and I think it looks good. Moving forward.

@sveinse sveinse merged commit fcd20d4 into custom-components:master Jul 16, 2025
1 check passed
@sveinse sveinse deleted the feature-rename-to-zaptec branch July 16, 2025 16:01
@sveinse sveinse added this to the v0.8 milestone Jul 16, 2025
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.

1 participant