1
0

Use intercom helper

This commit is contained in:
Przemek Grondek 2022-11-27 15:18:48 +01:00
parent 3e6b6b441e
commit 8f10b821b7
3 changed files with 19 additions and 2 deletions

View 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

View File

@ -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'

View File

@ -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"