mirror of
https://github.com/Anonym-tsk/smart-domofon.git
synced 2025-12-06 11:36:57 +03:00
Update domofon.yaml
This commit is contained in:
committed by
GitHub
parent
c25071df35
commit
1d22b920fb
@@ -27,7 +27,8 @@ automation:
|
||||
data_template:
|
||||
callback_query_id: "{{ trigger.event.data.id }}"
|
||||
message: "{{ 'Открываю...' if is_state('binary_sensor.domofon_incoming_call', 'on') else 'Нет входящего звонка' }}"
|
||||
- switch.turn_on: switch.domofon_accept_call
|
||||
- service: switch.turn_on
|
||||
entity_id: switch.domofon_accept_call
|
||||
|
||||
- alias: Telegram /domofon_reject callback
|
||||
initial_state: true
|
||||
@@ -41,7 +42,8 @@ automation:
|
||||
data_template:
|
||||
callback_query_id: "{{ trigger.event.data.id }}"
|
||||
message: "{{ 'Отклоняю...' if is_state('binary_sensor.domofon_incoming_call', 'on') else 'Нет входящего звонка' }}"
|
||||
- switch.turn_on: switch.domofon_reject_call
|
||||
- service: switch.turn_on
|
||||
entity_id: switch.domofon_reject_call
|
||||
|
||||
- alias: Domofon opened by button notification
|
||||
initial_state: true
|
||||
|
||||
Reference in New Issue
Block a user