In my modbus yaml I am using “device_class” in order to get the appropriate icon (definition of icon is not allowed in modbus or I am not aware how to do).
For unit_of_measurement: ‘h’ I now get the icon as expected. However value is shown like 2454:00:00 instead of 2454.
Since I could not find how to restrict value to hours only I am asking for help how to define the modbus entity in question.
Thanks for any help/suggestions