Skip to content

Comments

Add logging of all attributes during startup#227

Merged
sveinse merged 2 commits intocustom-components:masterfrom
sveinse:feature-add-show-all-updates-flag
Jul 23, 2025
Merged

Add logging of all attributes during startup#227
sveinse merged 2 commits intocustom-components:masterfrom
sveinse:feature-add-show-all-updates-flag

Conversation

@sveinse
Copy link
Collaborator

@sveinse sveinse commented Jul 23, 2025

During startup, the debug list of all attributes returned from Zaptec is useful to establish the origin of the attributes. Many attributes are provided by multiple requests and this information was omitted. By enabling this flag, the debug output will now print the update of the attribute, even if it doesn't change.

This flag is enabled during startup of the integration, and turned off when everything has been discovered

  • Add Zaptec.show_all_updates flag to enable/disable the function
  • Enable the flag dusring loading and disable it when setup is complete

* Add `Zaptec.show_all_updates` flag to enable/disable the function
* Enable the flag dusring loading and disable it when setup is complete
@sveinse sveinse added this to the v0.8 milestone Jul 23, 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 d2034b1 into custom-components:master Jul 23, 2025
1 check passed
@sveinse sveinse deleted the feature-add-show-all-updates-flag branch July 23, 2025 15:53
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.

2 participants