My modbus .yaml code works in home assistant core_2024.2.5.
The code stopped working in updates after that one (last update tested 2024.5.5).
Solar panels are conected with EMM.220-MID Energy Meter
Energy meter modbus port is connected with Waveshare RS485 to USB
Waveshare usb is connected with home assistant yellow.
Is something wrong with my code?
- name: modbus_energiemeter_zon
type: serial
port: /dev/ttyACM0
baudrate: 9600
bytesize: 8
method: rtu
parity: N
stopbits: 1
sensors:
- name: Zon
unique_id: zon
unit_of_measurement: kWh
device_class: energy
state_class: total_increasing
address: 342
input_type: input
data_type: float32
- name: Volts
unique_id: volts
unit_of_measurement: V
address: 0
input_type: input
data_type: float32
- name: Stroom
unique_id: stroom
unit_of_measurement: A
address: 6
input_type: input
precision: 2
data_type: float32
- name: Zon_nu
unique_id: zon_nu
unit_of_measurement: W
address: 12
input_type: input
precision: 2
data_type: float32
- name: Frequentie
unique_id: frequentie
unit_of_measurement: Hz
address: 70
input_type: input
precision: 2
data_type: float32