From 5c3ea009d24b2fa797b24f7e957ce9e202b75d96 Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Mon, 14 Nov 2022 00:39:19 +0100 Subject: [PATCH] Add intercom button to ios actions --- configuration/automations/ios.yaml | 13 +++++++++++++ configuration/configuration.yaml | 8 ++++++++ 2 files changed, 21 insertions(+) diff --git a/configuration/automations/ios.yaml b/configuration/automations/ios.yaml index ef80835..3860591 100644 --- a/configuration/automations/ios.yaml +++ b/configuration/automations/ios.yaml @@ -25,6 +25,19 @@ target: entity_id: lock.front_door_lock_doorlock +- id: ios-intercom-button + alias: '[ios] Intercom button' + mode: single + trigger: + - platform: event + event_type: ios.action_fired + event_data: + actionName: Intercom button + action: + - service: switch.toggle + target: + entity_id: switch.intercom_button + - id: ios-good-night alias: '[ios] Good Night' mode: single diff --git a/configuration/configuration.yaml b/configuration/configuration.yaml index a4a8a8f..b05a95f 100644 --- a/configuration/configuration.yaml +++ b/configuration/configuration.yaml @@ -143,6 +143,14 @@ zha: ios: actions: + - name: "Intercom button" + background_color: "#000000" + label: + text: "Intercom button" + color: "#ffffff" + icon: + icon: door-closed-lock + color: "#ffffff" - name: "Door Lock Toggle" background_color: "#000000" label: