Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix disabled feature recognition and logging #214

Merged
merged 1 commit into from May 19, 2022
Merged

Fix disabled feature recognition and logging #214

merged 1 commit into from May 19, 2022

Conversation

marcelvriend
Copy link
Contributor

Fixes #203

  • The Grocy enabled feature flags can be set with either a bool or int value (ints are passed by the Grocy API as str). The HA Grocy addon uses an int, the Grocy config.php suggests a bool. Now both are correctly interpreted.
  • A disabled Grocy feature no longer floods the log if the related entity is disabled.
  • If a "disabled feature while the entity is enabled" situation occurs, it will only be logged in debug.

@isabellaalstrom isabellaalstrom merged commit 6c1f71d into custom-components:master May 19, 2022
@marcelvriend marcelvriend deleted the fix/disabled-features-logging branch May 21, 2022 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants