change multimedia

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

View File

@@ -171,6 +171,9 @@
to = "off";
};
action = [
{
conditions = [ "{{ states('media_player.android_tv_metz_cloonar_com') != 'off'}}" ];
sequence = [
{
service = "androidtv.adb_command";
target = {
@@ -180,6 +183,8 @@
command = "POWER";
};
}
];
}
{
service = "denonavr.get_command";
target = {
@@ -223,6 +228,18 @@
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" = {