feat(hass): add script of turn_on_ue
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
b3f2dab52b
commit
6a183ce8e7
1 changed files with 13 additions and 0 deletions
|
@ -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 = [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue