Maybe you can use an
and an automation that set its value to the value of the
sensor.myomnik_energy_total. Use a condition in the automation that the value is only set when the value of the sensor is not unknown.
Maybe you can use an
sensor.myomnik_energy_total. Use a condition in the automation that the value is only set when the value of the sensor is not unknown.