s-kurz
s-kurz
@Gifford47 I have the same issue and I'm pretty sure it originates from the attribute restoration as this always returns a datetime. ``` def _restore_attr_value(self, value: Any | None) ->...
@Gifford47 Thx. I'll try that. I thought we had a string at this point
@Gifford47 I did adapt some parts and for me its running without issue now for 2 weeks
@Taijian For me I get a "0" if the heat pump is idle. In you case I'd create your own separate sensor that shadows this one but defaults to 0....
> By using some helper (two integral sensors for calculating the energy in kWh using for hot water preparation and heating, and the energy counter) you have all you need....
> [@s-kurz](https://github.com/s-kurz) So it's just another way for the template sensor definition. But for the Energy Dashboard you need energy sensors, no power sensors. How do you calculate the energy...