More specifically for an input that doesn’t have
“Allow negative values” set.
Among other things, yes.
Somewhat. With graph+, specify group=ALL and the returned value will be the total for the defined period. If the defined period is before the IoTaWatt was commissioned and the end is the current date and time, you will get the total.
HASS uses query, and while you can easily get the number from the Query API, the HASS integration does not do that. HASS Energy itself does accumulate entity kWh but the whole thing is fatally flawed because it doesn’t allow IoTaWatt to upload missed history like emoncms, influx or PVoutput. The HASS/IoTaWatt integration is also not something that I have any control, or even influence, over. The current maintainer will not make changes that do not serve his own interests, and the HASS developers will not allow IoTaWatt outputs to be treated in basically the same way that they treat MQTT inputs. My opinion is that their energy component can only be useful as a real-time dashboard.