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

feat: Support setting user flags on sensors #51

Merged
merged 2 commits into from
Dec 29, 2024

Conversation

hostcc
Copy link
Owner

@hostcc hostcc commented Dec 29, 2024

  • G90Sensor now has a method set_user_flag() that allows setting user flags on the sensor. The method will ignore any flags that are not user-settable and preserve them from the existing sensor flags.
  • G90Sensor now considers is_tampered and is_door_open_when_arming properties when providing instance representation

* `G90Sensor` now has a method `set_user_flag()` that allows setting user flags
  on the sensor. The method will ignore any flags that are not user-settable
  and preserve them from the existing sensor flags.
* `G90Sensor` now considers `is_tampered` and `is_door_open_when_arming` properties
  when providing instance representation
  which flags can be set by the user.
@hostcc hostcc added the enhancement New feature or request label Dec 29, 2024
@hostcc hostcc self-assigned this Dec 29, 2024
Copy link

Please retry analysis of this Pull-Request directly on SonarQube Cloud

@hostcc hostcc merged commit 16b5645 into master Dec 29, 2024
11 checks passed
@hostcc hostcc deleted the feat/support-setting-sensor-user-flag branch December 29, 2024 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant