I’m using a Victron CerboGX for energy management, and sending data into Home Assistant via modbus, which is stable and works great. However, I can’t seem find a way to get sensor values into the new HA energy management dashboard.
Found two other topics about this
- This one where someone has a modbus sensor that’s working correctly
- This one, with a similar config, that is not working
Here’s the config I’m using - I’ve tried every variant of device_class
and state_class
- could anyone point me to where I might be going wrong?
modbus:
- name: cerbo
host: 192.168.0.221
type: tcp
port: 502
sensors:
- name: "Solar Power"
data_type: uint
unit_of_measurement: "W"
slave: 100
address: 789
scale: 0.1
device_class: energy
state_class: total_increasing
Running HA 2021.10.6 via Docker on an Intel NUC