I’m just getting started with HA, and am trying to get one of my more complex sensors working fully.
I have a sensor that monitors a water tank level. It returns a value 0% to 100%. This works fine in HA, and is displayed properly. However, this sensor also provides a ‘raw level’ value, and has 2 configurable properties ‘max level’ and ‘min level’ (which can be sent back to the sensor and stored in EEPROM). These are:
V_VAR1: raw tank level (read only)
V_VAR2: raw tank level for 100% (read/write)
V_VAR3: raw tank level for 0% (read/write)
Basically I can configure the proper raw values for ‘0%’ and ‘100%’ to calibrate the displayed tank level.
In HA, when I click on the sensor , I can see the values of these, but I can’t figure out how to give nice names to V_VAR1, V_VAR2, V_VAR3, or how to make V_VAR2 and V_VAR3 editable from the pop-up configuration.
Do I need to build a custom component, or is there a way to configure this directly through yaml?