![](/static/253f0d9/assets/icons/icon-96x96.png)
![](https://lemmy.world/pictrs/image/94b2b808-7c9c-4de0-a35b-966d14ae40fd.png)
2·
1 year agoI don’t have a lot of automations yet, but a really useful one has been using smart plugs to detect when the laundry machines are running so that Home Assistant can send alerts when they finish.
I don’t have a lot of automations yet, but a really useful one has been using smart plugs to detect when the laundry machines are running so that Home Assistant can send alerts when they finish.
If your non-root user has sudo access, then it should be as easy as making your Ansible playbook log in as the non-root user by default, and then use Ansible’s
become
for anything that needs to run with sudo.