From 45dd000400dca2f0753f0e79c538d21885f90240 Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Mon, 5 Sep 2022 19:52:13 +0200 Subject: [PATCH] Change front door dorbell switch --- .../automations/front-door-doorbell.yaml | 18 +----------------- configuration/configuration.yaml | 3 --- 2 files changed, 1 insertion(+), 20 deletions(-) diff --git a/configuration/automations/front-door-doorbell.yaml b/configuration/automations/front-door-doorbell.yaml index 5e408f2..67353f0 100644 --- a/configuration/automations/front-door-doorbell.yaml +++ b/configuration/automations/front-door-doorbell.yaml @@ -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 \ No newline at end of file diff --git a/configuration/configuration.yaml b/configuration/configuration.yaml index 1cee1ad..f65e99b 100644 --- a/configuration/configuration.yaml +++ b/configuration/configuration.yaml @@ -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"