feat(hass): add script of turn_on_ue
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-09-28 21:46:53 -04:00
parent b3f2dab52b
commit 6a183ce8e7

View file

@ -48,6 +48,19 @@ in {
# Turn On the speaker automatically when openwakeword is used # Turn On the speaker automatically when openwakeword is used
config = { config = {
shell_command.turn_on_ue = getExe turnOnUE; shell_command.turn_on_ue = getExe turnOnUE;
script.turn_on_ue = {
alias = "Music - TurnOnUE";
description = "Script for turning on the UE Boom 2 speaker.";
icon = "mdi:music";
mode = "single";
sequence = [
{
alias = "Run shell command";
service = "shell_command.turn_on_ue";
}
];
};
automation = [ automation = [
{ {