Change front door dorbell switch
This commit is contained in:
parent
22be4c9d09
commit
45dd000400
@ -3,12 +3,10 @@
|
||||
mode: restart
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: switch.doorbell_button_switch
|
||||
entity_id: switch.doorbell
|
||||
from: 'off'
|
||||
to: 'on'
|
||||
action:
|
||||
- service: script.turn_on
|
||||
entity_id: script.doorbell_bell
|
||||
- service: notify.mobile_app_iphone_pg
|
||||
data:
|
||||
message: Doorbell
|
||||
@ -16,17 +14,3 @@
|
||||
actions:
|
||||
- action: UNLOCK_DOOR
|
||||
title: Unlock door
|
||||
|
||||
- id: font-door-doorbell-bell-burn-prevention
|
||||
alias: '[Front door] Doorbell bell burn prevention'
|
||||
mode: restart
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: switch.doorbell_bell
|
||||
from: 'off'
|
||||
to: 'on'
|
||||
for:
|
||||
seconds: 1
|
||||
action:
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.doorbell_bell
|
@ -25,9 +25,6 @@ input_boolean:
|
||||
3d_printer_timelapse:
|
||||
name: "3D printer timelapse"
|
||||
icon: "mdi:camera-burst"
|
||||
mute_doorbell:
|
||||
name: "Mute doorbell"
|
||||
icon: "mdi:bell-off"
|
||||
pc_caffeine:
|
||||
name: "PC Caffeine"
|
||||
icon: "mdi:desktop-tower-monitor"
|
||||
|
Loading…
Reference in New Issue
Block a user