From ac77d6ebf3061be128fed5c856a540fab661e21a Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Sun, 17 Sep 2023 00:37:51 +0200 Subject: [PATCH] Fix hue sync automations --- configuration/automations/steam.yaml | 12 +++++------ scripts/20.tv.yaml | 30 ++++++++++++++-------------- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/configuration/automations/steam.yaml b/configuration/automations/steam.yaml index da3da45..68d5b0f 100644 --- a/configuration/automations/steam.yaml +++ b/configuration/automations/steam.yaml @@ -22,11 +22,11 @@ entity_id: input_select.home_mode state: Day action: - - service: huesyncbox.set_entertainment_area + - service: select.select_option data: - entertainment_area: Racing + option: Racing target: - entity_id: media_player.sync_box + entity_id: select.sync_box_entertainment_area - service: cover.close_cover target: entity_id: @@ -64,11 +64,11 @@ entity_id: input_select.home_mode state: Day action: - - service: huesyncbox.set_entertainment_area + - service: select.select_option data: - entertainment_area: TV Lights + option: TV Lights target: - entity_id: media_player.sync_box + entity_id: select.sync_box_entertainment_area - service: automation.turn_on target: entity_id: diff --git a/scripts/20.tv.yaml b/scripts/20.tv.yaml index 9e98620..dc6708b 100644 --- a/scripts/20.tv.yaml +++ b/scripts/20.tv.yaml @@ -9,11 +9,11 @@ tv_nintendo_switch: source: TV target: entity_id: media_player.living_room - - service: huesyncbox.set_sync_mode + - service: select.select_option target: - entity_id: media_player.sync_box + entity_id: select.sync_box_sync_mode data: - mode: game + option: Game tv_xbox: alias: Xbox Series X icon: mdi:microsoft-xbox @@ -25,11 +25,11 @@ tv_xbox: source: TV target: entity_id: media_player.living_room - - service: huesyncbox.set_sync_mode + - service: select.select_option target: - entity_id: media_player.sync_box + entity_id: select.sync_box_sync_mode data: - mode: game + option: Game tv_ps4: alias: PlayStation 4 icon: mdi:sony-playstation @@ -41,11 +41,11 @@ tv_ps4: source: TV target: entity_id: media_player.living_room - - service: huesyncbox.set_sync_mode + - service: select.select_option target: - entity_id: media_player.sync_box + entity_id: select.sync_box_sync_mode data: - mode: game + option: Game tv_atv: alias: Android TV icon: mdi:android @@ -68,11 +68,11 @@ tv_atv: data: command: HOME entity_id: media_player.nvidia_shield - - service: huesyncbox.set_sync_mode + - service: select.select_option target: - entity_id: media_player.sync_box + entity_id: select.sync_box_sync_mode data: - mode: video + option: Video tv_f1tv_bedroom: alias: F1TV Bedroom @@ -109,11 +109,11 @@ tv_f1tv_living_room: entity_id: media_player.living_room - delay: 5 - service: script.tv_f1tv - - service: huesyncbox.set_sync_mode + - service: select.select_option target: - entity_id: media_player.sync_box + entity_id: select.sync_box_sync_mode data: - mode: video + option: Video tv_f1tv: alias: F1TV