From 4244d8b6eb1f4ca623827ec8b960208d180b38b7 Mon Sep 17 00:00:00 2001 From: zorruno Date: Fri, 9 Dec 2022 15:14:59 +1300 Subject: [PATCH] Sony TV automations to Automations dir --- automations.yaml | 15 +-------------- automations/main_sony_tv_automations.yaml | 14 ++++++++++++++ automations/main_viera_tv_automations.yaml | 21 --------------------- 3 files changed, 15 insertions(+), 35 deletions(-) create mode 100644 automations/main_sony_tv_automations.yaml delete mode 100644 automations/main_viera_tv_automations.yaml diff --git a/automations.yaml b/automations.yaml index c63b3be..8b13789 100644 --- a/automations.yaml +++ b/automations.yaml @@ -1,14 +1 @@ -- id: '1669966515993' - alias: Turn off Lounge TV - description: '' - trigger: - - platform: mqtt - topic: viewroad-commands/maintv/action - payload: 'OFF' - condition: [] - action: - - type: turn_off - device_id: 4a9f71fc64e158f1c9286d6e43ce782e - entity_id: remote.sony_kd_55x85k - domain: remote - mode: single + diff --git a/automations/main_sony_tv_automations.yaml b/automations/main_sony_tv_automations.yaml new file mode 100644 index 0000000..587ea76 --- /dev/null +++ b/automations/main_sony_tv_automations.yaml @@ -0,0 +1,14 @@ +- id: "1669966515993" + alias: Turn off Lounge TV + description: "" + trigger: + - platform: mqtt + topic: viewroad-commands/maintv/action + payload: "OFF" + condition: [] + action: + - type: turn_off + device_id: 4a9f71fc64e158f1c9286d6e43ce782e + entity_id: remote.sony_kd_55x85k + domain: remote + mode: single diff --git a/automations/main_viera_tv_automations.yaml b/automations/main_viera_tv_automations.yaml deleted file mode 100644 index 631c617..0000000 --- a/automations/main_viera_tv_automations.yaml +++ /dev/null @@ -1,21 +0,0 @@ -- id: "1630652622875" - alias: Turn off Main TV - description: "" - trigger: - - platform: mqtt - topic: viewroad-commands/maintv/action - payload: "OFF" - condition: [] - action: - #- type: toggle - # device_id: d75c9f1db62bd7d599394dfcacedfa61 - # entity_id: remote.viera_gt30_series - # domain: remote - - alias: "Send remote command (Power) to TV" - service: remote.send_command - data: - command: "power" - target: - #device_id: d75c9f1db62bd7d599394dfcacedfa61 - entity_id: remote.viera_gt30_series - mode: single