Bring back meeting automations

This commit is contained in:
2021-06-12 15:33:06 +03:00
parent c7513a1a0d
commit 3408a16caa
3 changed files with 36 additions and 26 deletions
-20
View File
@@ -133,23 +133,3 @@ automation:
data_template:
message_id: "{{ trigger.event.data.message.message_id}}"
chat_id: "{{ trigger.event.data.chat_id }}"
- alias: Speech · Disable when meeting starts
trigger:
platform: state
entity_id: binary_sensor.in_a_meeting
from: "off"
to: "on"
action:
- service: input_boolean.turn_off
entity_id: input_boolean.speech_notifications
- alias: Speech · Enable when meeting is over
trigger:
platform: state
entity_id: binary_sensor.in_a_meeting
from: "on"
to: "off"
action:
- service: input_boolean.turn_on
entity_id: input_boolean.speech_notifications