mirror of
https://github.com/Anonym-tsk/smart-domofon.git
synced 2026-01-03 15:19:03 +03:00
esphome.domofon_call_accept & esphome.domofon_call_reject events. web_server disabled by default
This commit is contained in:
@@ -42,6 +42,10 @@ script:
|
||||
- globals.set:
|
||||
id: mode_mute_once
|
||||
value: 'false'
|
||||
- homeassistant.event:
|
||||
event: esphome.domofon_call_accept
|
||||
data:
|
||||
entity_uid: $mdns_name
|
||||
|
||||
# Reject incoming call
|
||||
- id: call_reject
|
||||
@@ -55,6 +59,10 @@ script:
|
||||
- globals.set:
|
||||
id: mode_mute_once
|
||||
value: 'false'
|
||||
- homeassistant.event:
|
||||
event: esphome.domofon_call_reject
|
||||
data:
|
||||
entity_uid: $mdns_name
|
||||
|
||||
# No call state
|
||||
- id: state_no_call
|
||||
|
||||
Reference in New Issue
Block a user