Script/service to monitor the playback status of moOde and toggle a Home Assistant entity when playback starts/stops.
Based off https://gist.github.com/michaelfdeberry/d3e7c9b4c4e1305be863d81a7e09f3de
Modify powertoggle.sh
and fill in the relevant details. You can obtain HASS_TOKEN