Android silent mode as a switch

It would be great to also get my phone into silent mode when I turn off the lights of the home. One could probably create a sleeping scene to have all such actions happen at one click. Is there any way to make an android “sound-settings” component, perhaps as a switch?
(Just last night my phone woke me up. I did use home-assistant to turn off the lights before sleeping.)
Is there any app on android that exposes the control of silent mode thru one of the channels supported by home-assistant? e.g. slack, mqtt,…?

Check out the blog post on that topic: https://home-assistant.io/blog/2015/12/10/activating-tasker-tasks-from-home-assistant-using-command-line-switches/

1 Like

Another way would be to use the https://home-assistant.io/components/notify.llamalab_automate/ component.