Updated Hörmann_door to completely use namespaces. Makes code a bit cleaner

This commit is contained in:
2025-10-07 00:50:49 +02:00
parent 3ef68a9539
commit 9d3930af59
6 changed files with 48 additions and 37 deletions

View File

@@ -7,7 +7,7 @@ esphome:
esp32:
board: wemos_d1_mini32
framework:
type: esp-idf
type: arduino # esp-idf is used by side wo, but sy uses an older esp32 chip that seems to crash with esp-idf (likely power issues)
ota:
- platform: esphome
@@ -41,15 +41,19 @@ uart:
tx_pin: 17
baud_rate: 57600
id: hm_connection
data_bits: 8 # Standard
parity: EVEN # NON Standard, None would be standard
stop_bits: 1 # Standard
data_bits: 8 # Standard, just defined for clarity
parity: EVEN # The chip uses even parity
stop_bits: 1 # Standard, just defined for clarity
hoermann_door:
id: door_controll_internal
uart_connection: hm_connection
tx_pin: 25
tx_pin:
number: 25
inverted: false
light:
- platform: binary