ha-historical-sensor icon indicating copy to clipboard operation
ha-historical-sensor copied to clipboard

Hey, I'm dealing with similar problems

Open kdeyev opened this issue 1 year ago • 1 comments

Hi,

I'm developing a HASS integration that imports water meter readings and I deal with similar problems. I've tried to use the ha-historical-sensor and I have some questions about the usage.

I see that the code example suggests not setting the _attr_state_class and the _state. The sensor works with Energy Dashboard (but shows a warning message here and there). But I see some other sensor usage is limited.

Is it anyhow possible to overcome setting the _attr_state_class and _state to None?

kdeyev avatar Aug 21 '23 00:08 kdeyev