ha-historical-sensor
ha-historical-sensor copied to clipboard
Hey, I'm dealing with similar problems
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?