substitutions: garageSide: sy # sy, wo version: "2.1.3" esphome: name: garage${garageSide} esp32: board: wemos_d1_mini32 framework: type: esp-idf ota: - platform: esphome password: !secret gd_passwd on_begin: then: - hoermann_door.stop_polling: door_controll_internal - logger.log: "OTA-Update started, stopped polling" on_error: then: - hoermann_door.start_polling: door_controll_internal - logger.log: "OTA-Update failed, restarted polling" api: encryption: key: !secret gd_key wifi: ssid: !secret wifi_ssid password: !secret wifi_password fast_connect: true logger: #level: VERY_VERBOSE external_components: - source: type: local path: external_components/ components: [ hoermann_door ] cover: - platform: hoermann_door name: door_${garageSide} hoermann_controller: door_controll_internal uart: rx_pin: 16 tx_pin: 17 baud_rate: 57600 id: hm_connection 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 log_level: INFO tx_pin: number: 25 inverted: false # Just for clarity, false is standard light: - platform: binary name: door_${garageSide}_lamp id: lamp_id_${garageSide} output: light_out output: - id: light_out platform: hoermann_door state_callback: lamp_id_${garageSide} hoermann_controller: door_controll_internal