#Modbus config count: 2 problem
1 messages · Page 1 of 1 (latest)
Error:
Invalid config for [modbus]: EM24_I L1: count: 2 cannot be combined with data_type: int32 @ data['modbus'][0]['sensors'][6]. Got {'name': 'EM24_I L1', 'unit_of_measurement': 'A', 'slave': 1, 'address': 12, 'input_type': 'input', 'data_type': 'int32', 'scale': 0.001, 'precision': 2, 'swap': 'word', 'count': 2, 'device_class': 'current', 'scan_interval': 15}
Code in configuration.yaml:
- name: EM24_I L1
unit_of_measurement: A
slave: 1
address: 12
input_type: input
data_type: int32
scale: 0.001
precision: 2
swap: word
count: 2
device_class: current
Does anybody have a clue what happened here?
Im having the same problem
Hmm, that's bad.
These integration is running around one year without any problem.
Have a look:
https://github.com/home-assistant/core/issues/101421