Hi y’all,
i’m a bit lost here and i hope someone could enlighten me…
I do have an SMA Solar Inverter and have enabled the SMA integration of HA according to this: homeassistant//integrations/sma/
Everything worls as expected.
Now i want to add a custom sensor as described in the manual above, but i don’t know, where to put the custom: thing.
If i put it like this
sensor:
- platform: sma
host: IP_ADDRESS_OF_DEVICE
ssl: true
verify_ssl: false
password: YOUR_SMA_PASSWORD
sensors:
- current_consumption
- total_consumption
- pv_power
- total_yield
custom:
yesterday_consumption:
key: "6400_00543A01"
unit: kWh
factor: 1000
it gives me an error upon config-check like this:
Invalid config for [sensor.sma]: expected dictionary for dictionary value @ data['custom']. Got [OrderedDict([('total_consumption', OrderedDict([('key', '6400_00462500'), ('unit', 'kWh'), ('factor', 1000)]))])]. (See ?, line ?).
am i overlooking something here or am i just to stup… to read the manual?
Thanks