Hello all, I would like to get some structure in my configuration.yaml. For this I wanted to use the include command. Unfortunately I get an error message. Attached my Configuration. yaml and the error message. Do any of you know this problem? BR
Do you have a link to the pluggit integration documentation?
I can’t find any such core or third party integration.
I was curious, too. Here you can see a working config (as stated by that user):
#configuration.yaml
modbus:
name: pluggit
type: tcp
host: 192.168.1.34
port: 502
#sensors.yaml
- platform: modbus
scan_interval: 10
registers:
- name: Außentemperatur
hub: pluggit
slave: 1
register: 133
unit_of_measurement: '°C'
count: 2
data_type: float
Right so there is no pluggit integration. It’s actually using the modbus integration. Therefore this has no place in the configuration.yaml file:
pluggit:
You can only include integrations known to Home Assistant like that.
Like all the ones above it.
Understood, thanks! Is there another way to move the code from configuration.yaml to another file? My goal is to create order and structure in my configuration.yaml. In the ideal case, I simply have a reference in confiruaion.yaml to another yaml file and that’s it. Or is it just as described above?
If you want to include both the modbus config and sensors then you could use a package: