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

Automation triggers for age and pump related things #3267

Merged
merged 8 commits into from
Mar 18, 2024

Conversation

jbr7rr
Copy link

@jbr7rr jbr7rr commented Mar 17, 2024

#3236
#2404

This PR adds the following automation triggers:

  • Cannula age trigger: Available for all pumps
  • Insulin age trigger: Available for supported pumps
  • Battery age trigger: Available for supported pumps
  • Sensor age trigger: always available

Note that for all age related triggers the equal comparison is unlikely to trigger, so in that case two triggers are required to create a range

  • Reservoir level trigger: Available for all pumps, comparison "NOT_AVAILABLE" is not working for this trigger as the value is always filled in AAPS
  • Pump battery level trigger: Available for supported pumps, comparison "NOT_AVAILABLE" is not working for this trigger as the value is always filled in AAPS

Copy link

sonarcloud bot commented Mar 17, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
5.7% Duplication on New Code (required ≤ 3%)

See analysis details on SonarCloud

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