I am lost how to configure my yaml. I installed the Waveshare RS485 to ethernet (B) in my Energy Meter and want to show Power and Energy in HA and used the xamples from Modbus - Home Assistant.
But it keeps throwing the error
Configuration warnings
- Invalid config for ‘modbus’ at configuration.yaml, line 14: not a valid value for dictionary value ‘modbus->0->type’, got ‘rtuovertcp’
- Invalid config for ‘modbus’ at configuration.yaml, line 15: ‘host’ is an invalid option for ‘modbus’, check: modbus->0->host
What am I doing wrong?
YAML
modbus:
- name: Name
type: rtuovertcp
host: 192.168.1.66
port: 502