change multimedia

This commit is contained in:
2023-08-02 10:20:24 +02:00
parent 1ca10e4422
commit 02c2873ba9

View File

@@ -172,13 +172,18 @@
}; };
action = [ action = [
{ {
service = "androidtv.adb_command"; conditions = [ "{{ states('media_player.android_tv_metz_cloonar_com') != 'off'}}" ];
target = { sequence = [
device_id = "a5e50f268f3a2dbd0741fb8e9ff7f931"; {
}; service = "androidtv.adb_command";
data = { target = {
command = "POWER"; device_id = "a5e50f268f3a2dbd0741fb8e9ff7f931";
}; };
data = {
command = "POWER";
};
}
];
} }
{ {
service = "denonavr.get_command"; service = "denonavr.get_command";
@@ -223,6 +228,18 @@
command = "POWER"; command = "POWER";
}; };
} }
{
delay = 5;
}
{
service = "androidtv.adb_command";
target = {
device_id = "a5e50f268f3a2dbd0741fb8e9ff7f931";
};
data = {
command = "adb shell am start -a android.intent.action.VIEW -d content://android.media.tv/passthrough/com.mediatek.tvinput%2F.hdmi.HDMIInputService%2FHDMI100004";
};
}
]; ];
}; };
# "automation multimedia input" = { # "automation multimedia input" = {