Skip to content

Convert to config_flow

Compare
Choose a tag to compare
@garbled1 garbled1 released this 20 Nov 12:17
· 25 commits to master since this release
e55df7e

Version 0.5 converts this to a config flow from the previous yaml config method.
Once you restart hass, it will attempt to read your old config from yaml, and
port it over to the config flow.
Verify that it did so correctly, and double check the options match what you
expect for the units under "Options".

Additionally in 0.5, the battery sensors have been significantly changed.
Previously all batteries were simple floats with the raw value displayed.
There are 3 types of batteries that the ecowitt displays data for:

  • Simple good/bad batteries. These are now binary sensors. This will leave
    A dead entry in your entities for the old battery sensor. You may safely
    delete that entity.
  • Voltage readings. A few batteries display a voltage (soil, WH80).
    A soil battery is normally 1.5v, so a good alarm might be around 1.3?
    WH80 batteries seem to be about 2.38 - 2.4, so maybe in the 2.3 to 2.2 range
    for an alarm?
  • Other batteries will now show as a percentage.
    The raw sensor gives a number from 0-5, this is simply multiplied by 20
    to give a percentage of 0-100.

If you were monitoring one of these, be sure to update any automations.

There was a bug in the wind gust sensors, where it was not being affected by
the windunit setting, once you load 0.5, you may find a dead entity for your
wind gust sensors that were setup for the wrong unit.
You may delete these.

Once your configuration has been moved, you should delete the old ecowitt
section from your configuration.yaml file and restart hass.

Major changes:

  • Adds a config flow.
  • Adds leak detection sensors as binary sensors (they work now).
  • Rewrite battery handling completely.
  • Fix various bugs having to do with the wind gust sensors and imperial/metric
  • Make the wind direction a compass icon.
  • Better documentation in readme