Convert a modbus epoch timestamp

Hi,

I’ve a sensor that I read from modbus in a epoch time (like: 1673197998), and when I choose the device_class: timestamp, the ha crashes. So how I can transform to iso time, whithout creating a new template? It’s possible?

The sensor is this:

- name: Inverter_Startup_Time
  data_type: uint32
  address: 32091
  scan_interval: 580
  slave: 1
  input_type: holding

Best Regards,
Fernando Gomes

You’ll need to create a template sensor.