Skip to content

Commit

Permalink
Remove obsolete sensor
Browse files Browse the repository at this point in the history
  • Loading branch information
AzonInc committed Aug 12, 2024
1 parent a7f883b commit 2d29e22
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
2 changes: 1 addition & 1 deletion docs/firmware/nuki-bridge-firmware.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Nuki Bridge Firmware
# Nuki Bridge Firmware <Badge type="tip" text="Arduino Framework" />

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.
Expand Down
2 changes: 1 addition & 1 deletion docs/firmware/stock-firmware.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Stock Firmware
# Stock Firmware <Badge type="tip" text="ESP-IDF Framework" />

This is the prefered Firmware as it works out of the Box with Doorman S3.
It supports Improv via Bluetooth LE.
Expand Down
20 changes: 11 additions & 9 deletions firmware/base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -248,25 +251,21 @@ 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
then:
- 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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 2d29e22

Please sign in to comment.