* Update home-assistant.mdx
Avoiding some logging with the specify of the type in automation.
* remove extra space
---------
Co-authored-by: pdxlocations <117498748+pdxlocations@users.noreply.github.com>
Just a couple small improvements. By adding these device classes, some history graphs will be made a bit nicer (splitting out battery percentage from channel utilization graphs) and HA can better know how to use the values. Using `this.state` is slightly better form for retaining the same sensor value since it won't look up the current value, just reuse the one HA has already looked up.