gtdiehl / iotawatt_ha

IoTaWatt for Home Assistant
Apache License 2.0
16 stars 16 forks source link

High precision energy sensors ; resync and improve #32

Closed jyavenard closed 3 years ago

jyavenard commented 3 years ago

This backports all the changes requested by HA developers in the official iotawatt integration.

The HACS version adds a few useful differences: 1- All sensors are usable in the energy screen, you don't need to create a template that would add the state_class attribute 2- The output sensors appear under iotawatt and can be edited.

Important note when updating to ensure that all your settings and setup remain functional:


1- Delete the iotawatt integration from the HA's integration screen.

image

2- Update the integration in HACS 3- Restart HA 4- Re-add and configure the iotawatt integration again

you’re data will be restored


If you follow those steps, this new version is backward compatible with the earlier ones. Otherwise all the output sensors will get duplicated with a _2 added to their name requiring to delete the old ones and rename the new ones.

gtdiehl commented 3 years ago

I released 0.2.1b0 as it looks good so far. Will run it for a day, then release it.