Add intercom button to ios actions
This commit is contained in:
parent
7f1fb8d059
commit
5c3ea009d2
@ -25,6 +25,19 @@
|
|||||||
target:
|
target:
|
||||||
entity_id: lock.front_door_lock_doorlock
|
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
|
- id: ios-good-night
|
||||||
alias: '[ios] Good Night'
|
alias: '[ios] Good Night'
|
||||||
mode: single
|
mode: single
|
||||||
|
@ -143,6 +143,14 @@ zha:
|
|||||||
|
|
||||||
ios:
|
ios:
|
||||||
actions:
|
actions:
|
||||||
|
- name: "Intercom button"
|
||||||
|
background_color: "#000000"
|
||||||
|
label:
|
||||||
|
text: "Intercom button"
|
||||||
|
color: "#ffffff"
|
||||||
|
icon:
|
||||||
|
icon: door-closed-lock
|
||||||
|
color: "#ffffff"
|
||||||
- name: "Door Lock Toggle"
|
- name: "Door Lock Toggle"
|
||||||
background_color: "#000000"
|
background_color: "#000000"
|
||||||
label:
|
label:
|
||||||
|
Loading…
Reference in New Issue
Block a user