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: