Hi
I am getting the following error when I validate the setting
sensor.modbus_controller: [source /config/esphome/solar.yaml:136]
platform: modbus_controller
modbus_controller_id: smg0
name: smg-ii ac frequency
address: 203
register_type: holding
value_type: S_WORD
unit_of_measurement: Hz
Unknown value 'frequency', valid options are '', 'aqi', 'battery', 'carbon_dioxide', 'carbon_monoxide', 'current', 'energy', 'gas', 'humidity', 'illuminance', 'monetary', 'nitrogen_dioxide', 'nitrogen_monoxide', 'nitrous_oxide', 'ozone', 'pm1', 'pm10', 'pm25', 'power', 'power_factor', 'pressure', 'signal_strength', 'sulphur_dioxide', 'temperature', 'timestamp', 'volatile_organic_compounds', 'voltage'.
device_class: frequency [source /config/esphome/solar.yaml:143]
And also
sensor.modbus_controller: [source /config/esphome/solar.yaml:282]
platform: modbus_controller
modbus_controller_id: smg0
name: smg-ii output apparent power
address: 214
register_type: holding
value_type: S_WORD
unit_of_measurement: VA
Unknown value 'apparent_power', valid options are '', 'aqi', 'battery', 'carbon_dioxide', 'carbon_monoxide', 'current', 'energy', 'gas', 'humidity', 'illuminance', 'monetary', 'nitrogen_dioxide', 'nitrogen_monoxide', 'nitrous_oxide', 'ozone', 'pm1', 'pm10', 'pm25', 'power', 'power_factor', 'pressure', 'signal_strength', 'sulphur_dioxide', 'temperature', 'timestamp', 'volatile_organic_compounds', 'voltage'.
device_class: apparent_power [source /config/esphome/solar.yaml:289]
state_class: measurement