Change front door dorbell switch
This commit is contained in:
parent
22be4c9d09
commit
45dd000400
@ -3,12 +3,10 @@
|
|||||||
mode: restart
|
mode: restart
|
||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id: switch.doorbell_button_switch
|
entity_id: switch.doorbell
|
||||||
from: 'off'
|
from: 'off'
|
||||||
to: 'on'
|
to: 'on'
|
||||||
action:
|
action:
|
||||||
- service: script.turn_on
|
|
||||||
entity_id: script.doorbell_bell
|
|
||||||
- service: notify.mobile_app_iphone_pg
|
- service: notify.mobile_app_iphone_pg
|
||||||
data:
|
data:
|
||||||
message: Doorbell
|
message: Doorbell
|
||||||
@ -16,17 +14,3 @@
|
|||||||
actions:
|
actions:
|
||||||
- action: UNLOCK_DOOR
|
- action: UNLOCK_DOOR
|
||||||
title: 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:
|
3d_printer_timelapse:
|
||||||
name: "3D printer timelapse"
|
name: "3D printer timelapse"
|
||||||
icon: "mdi:camera-burst"
|
icon: "mdi:camera-burst"
|
||||||
mute_doorbell:
|
|
||||||
name: "Mute doorbell"
|
|
||||||
icon: "mdi:bell-off"
|
|
||||||
pc_caffeine:
|
pc_caffeine:
|
||||||
name: "PC Caffeine"
|
name: "PC Caffeine"
|
||||||
icon: "mdi:desktop-tower-monitor"
|
icon: "mdi:desktop-tower-monitor"
|
||||||
|
Loading…
Reference in New Issue
Block a user