-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Wear: add Loop States tile #3725
base: dev
Are you sure you want to change the base?
Conversation
Quality Gate passedIssues Measures |
anyone tested? |
Will test it now. @MilosKozak can it be merged with translations for e.g. Russian language or does it need to be done via Crowdin and only provide english strings in PR? |
Tested OK for AAPS. Will check how it looks for AAPSClient |
<string name="wear_action_loop_state_changed_with_duration">%1$s\nDuration: %2$d min</string> | ||
|
||
<string name="wear_action_loop_state_now_closed">Closed</string> | ||
<string name="wear_action_loop_state_now_lgs">LGS</string> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since it's plenty of space for text in the wear tile confirmation box I would use Low glucose suspend
instead of LGS
Tested OK for AAPSClient, it's like with Automation user action tile, "No configuration", so it can't be used. Both User action and Loop state is visible for AAPSClient wear, I'm not sure if it's possible to hide them, but that is something that can be improved upon later also. This is very useful for us when e.g. going to swimming pool, we always disconnect pump, now we don't need to open AAPS phone! Thumbs up from me! :) |
Provides ability to change loop state (switch modes, disconnect/reconnect pump, suspend/resume loop) from WearOS tile.
I find this tile useful in my usage scenario when I put my watch on charge before going to shower. This tile helps to set "pump disconnected" loop mode directly from my watch instead of finding my phone in the room, opening AAPS, loop dialog and only then disconnecting pump.
The implementation has timestamp-based authorisation, so user can't do something unexpected when tile and DataHandlerMobile go out of sync, also all actions have additional confirmation on watch before actually running.