Use intercom helper
This commit is contained in:
parent
3e6b6b441e
commit
8f10b821b7
14
configuration/automations/intercom.yaml
Normal file
14
configuration/automations/intercom.yaml
Normal file
@ -0,0 +1,14 @@
|
||||
- id: intercom-button
|
||||
alias: '[Intercom] Button'
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: input_boolean.intercom_button
|
||||
to: "on"
|
||||
action:
|
||||
- service: switch.toggle
|
||||
target:
|
||||
entity_id: switch.intercom_button
|
||||
- service: input_boolean.turn_off
|
||||
target:
|
||||
entity_id: input_boolean.intercom_button
|
@ -34,9 +34,9 @@
|
||||
event_data:
|
||||
actionName: Intercom button
|
||||
action:
|
||||
- service: switch.toggle
|
||||
- service: input_boolean.toggle
|
||||
target:
|
||||
entity_id: switch.intercom_button
|
||||
entity_id: input_boolean.intercom_button
|
||||
|
||||
- id: ios-good-night
|
||||
alias: '[ios] Good Night'
|
||||
|
@ -26,6 +26,9 @@ input_boolean:
|
||||
3d_printer_timelapse:
|
||||
name: "3D printer timelapse"
|
||||
icon: "mdi:camera-burst"
|
||||
intercom_button:
|
||||
name: "Intercom button helper"
|
||||
icon: "mdi:door-closed-lock"
|
||||
pc_caffeine:
|
||||
name: "PC Caffeine"
|
||||
icon: "mdi:desktop-tower-monitor"
|
||||
|
Loading…
Reference in New Issue
Block a user