Open cananda opened 2 years ago
This is already shedulable on the device - go to settings -> digital wellbeing (you may need to install Google's wellbeing app first). That will take care of disabling the work profile at evenings and weekends.
I'd also support this (whether as notification or whether as a direct command from HA) - in my case a simple schedule wouldn't work, I'd like to enable the work profile either if I'm actually at work (realized as zone) or when I'm working from home (work laptop is connected to wifi).
+1, if this is technically feasible (not familiar with the restrictions on the DevicePolicyManager
API used by the app) it would be a perfect use for HA's GPS zones - when leaving the area of the office, automatically disable the work profile for a peaceful commute home. Or pulling OOO data from your calendar and not enabling the work profile during days off.
The android schedule works, but pales in comparison against the possibilities of integration with HA :)
Is your feature request related to a problem? Please describe. I'd like to automate enabling of workprofile on android during working days and turn it off during holidays and weekends
Describe the solution you'd like I'd like a notification command to enable/disable workprofile on android so that this could be automated.
Describe alternatives you've considered, if any I'm yet to explore if command_activity can be used for this
Additional context I do this manually everytime as I do not want to be notified of emails/slack/jira etc duringnon working days