jordanruthe / homeassistant-phyn

A plugin for Phyn and Phyn by Kohler for HomeAssistant
13 stars 3 forks source link

Updated current water flow sensor so that the measurement unit can be changed #18

Closed timbba80 closed 10 months ago

timbba80 commented 10 months ago

Added device class (water) Changed unit of measurement to "UnitOfVolume.GALLONS"

These changes allows to change the unit of measurement in Home Assistant to preferred unit (liters, cubic meters, gallons...) for current water flow.

Changed state class from measurement to total

This is done as basis of Home Assistant development documentation, measurement should not be used for current measurment.