Ich bekomme schon mit der Standarddefinition Fehler.
Die Fehler sehen so aus:
Konfiguration:
Die Fehler sehen so aus:
Code:
Konfigurationswarnungen
Invalid config for 'modbus' at configuration.yaml, line 12: 'modbus' is an invalid option for 'modbus', check: modbus->0->modbus
Invalid config for 'modbus' at configuration.yaml, line 12: required key 'baudrate' not provided
Invalid config for 'modbus' at configuration.yaml, line 12: required key 'bytesize' not provided
Invalid config for 'modbus' at configuration.yaml, line 12: required key 'method' not provided
Konfiguration:
Code:
# Loads default set of integrations. Do not remove.
default_config:
# Load frontend themes from the themes folder
frontend:
themes: !include_dir_merge_named themes
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
modbus: !include modbus.yaml
Code:
# modbus.yaml
modbus:
- name: hub1
type: tcp
host: IP_ADDRESS
port: 502
covers:
- name: Door1
device_class: door
input_type: coil
address: 117
state_open: 1
state_opening: 2
state_closed: 0
state_closing: 3
status_register: 119
status_register_type: holding
- name: "Door2"
address: 118