From 2d29e22350400fff22dddefa880d99d43dd55ddf Mon Sep 17 00:00:00 2001 From: Florian Date: Mon, 12 Aug 2024 23:21:00 +0200 Subject: [PATCH] Remove obsolete sensor --- docs/firmware/nuki-bridge-firmware.md | 2 +- docs/firmware/stock-firmware.md | 2 +- firmware/base.yaml | 20 +++++++++++--------- 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/docs/firmware/nuki-bridge-firmware.md b/docs/firmware/nuki-bridge-firmware.md index 16a5e7e..271b632 100644 --- a/docs/firmware/nuki-bridge-firmware.md +++ b/docs/firmware/nuki-bridge-firmware.md @@ -1,4 +1,4 @@ -# Nuki Bridge Firmware +# Nuki Bridge Firmware This Configuration inherits everything from the Stock Firmware and adds a Nuki Bridge Component via BLE on top. It doesn't support Improv via Bluetooth LE because the BLE Stack is used by the Nuki Bridge Component. diff --git a/docs/firmware/stock-firmware.md b/docs/firmware/stock-firmware.md index 389f8a9..bb2a7cf 100644 --- a/docs/firmware/stock-firmware.md +++ b/docs/firmware/stock-firmware.md @@ -1,4 +1,4 @@ -# Stock Firmware +# Stock Firmware This is the prefered Firmware as it works out of the Box with Doorman S3. It supports Improv via Bluetooth LE. diff --git a/firmware/base.yaml b/firmware/base.yaml index 9456818..871c506 100644 --- a/firmware/base.yaml +++ b/firmware/base.yaml @@ -129,7 +129,10 @@ improv_serial: # Import TCS Intercom Component external_components: - - source: github://AzonInc/esphome_tcs_intercom@master + - source: + type: git + url: https://github.com/AzonInc/esphome_tcs_intercom + ref: master components: [ tcs_intercom ] refresh: 60s @@ -248,13 +251,14 @@ light: max_brightness: 40% binary_sensor: - # Preconfigured Ring To Open Action (Internal) + # Preconfigured Sensors - platform: tcs_intercom - id: doorman_entrance_doorbell + name: "Entrance Doorbell" lambda: !lambda "return id(entrance_doorbell_command);" - internal: true + auto_off: 0.2s on_press: then: + # Ring To Open Action - if: condition: switch.is_on: doorman_ring_to_open @@ -262,11 +266,6 @@ binary_sensor: - delay: !lambda "return id(ring_to_open_door_opener_delay).state*1000;" - tcs_intercom.send: command: !lambda "return id(first_door_opener_command);" - - # Preconfigured Sensors - - platform: tcs_intercom - name: "Entrance Doorbell" - lambda: !lambda "return id(entrance_doorbell_command);" on_multi_click: # Single press - timing: @@ -308,6 +307,7 @@ binary_sensor: - platform: tcs_intercom name: "Apartment Doorbell" lambda: !lambda "return id(apartment_doorbell_command);" + auto_off: 0.2s on_multi_click: # Single press - timing: @@ -349,6 +349,7 @@ binary_sensor: - platform: tcs_intercom name: "Pick up phone" lambda: !lambda "return id(pick_up_phone_command);" + auto_off: 0.2s disabled_by_default: true on_multi_click: # Single press @@ -390,6 +391,7 @@ binary_sensor: - platform: tcs_intercom name: "Hang up phone" lambda: !lambda "return id(hang_up_phone_command);" + auto_off: 0.2s disabled_by_default: true - platform: gpio