esphome:
  name: froeling # If you're intending to use the Dashboard provided in this Repo - DO NOT CHANGE THE NAME -> readme.md

esp32:
  board: wemos_d1_mini32

# Enable logging
logger:
  baud_rate: 0
  level: INFO

# Enable Home Assistant API
api:
  encryption:
    key: ""

ota:
  password: ""

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

web_server:
  port: 80

substitutions:
  name: froeling
  friendly_name: Fröhling
  device_description: "Esphome component for Fröhling Lambdatronic S3200"
  modbus_controller_id: lambdatronic
  hk1_name: "HK1"
  hk2_name: "HK2"
  hk3_name: "Erdgeschoss"
  hk4_name: "1. Stock"
  hk5_name: "2. Stock"
  boiler1_name: "Warmwasser"
  puffer1_name: "Puffer"

uart:
  id: mod_bus
  tx_pin: 17
  rx_pin: 16
  baud_rate: 57600
  data_bits: 8
  stop_bits: 1
  parity: NONE
#  debug:
#    direction: BOTH

modbus:
  id: modbus1
  uart_id: mod_bus

modbus_controller:
  id: ${modbus_controller_id}
  address: 0x1
  modbus_id: modbus1
  setup_priority: -10
  update_interval: 10sec


switch:
  - platform: restart
    name: "Restart ESP"

packages:
  # Git repo examples
  remote_package:
    url: https://git.floriansimmer.at/Florian/Lambdatronic_S3200
    refresh: 0s
    ref: main
    files: 
      - anlage.yaml
      - kessel.yaml
      - fehler.yaml
      - austragung.yaml
      - boiler_01.yaml
      - heizkreis_01.yaml
      - heizkreis_02.yaml
      - heizkreis_03.yaml
      - heizkreis_04.yaml
      - heizkreis_05.yaml
      - puffer_01.yaml
      - zirkulationspumpe.yaml
