Hi Guys,
I have just moved from openhab to hass and loving it.
I have a full set of max thermostatic valves and my previous automation was using valves values to read their status. This is due to temperature is only updates when the valve is changing its position.
I have found that api for maxcube include valve_position but I’m not sure how to update the component to add valve_position into entities.
I have created custom component and added this line, just to test if valve position could be read as humidity but humidity is not coming up.
@property
def humidity(self):
"""Return the valve position."""
device = self._cubehandle.cube.device_by_rf(self._rf_address)
# Map and return current valve position
return self.map_valve_position_hass(device.valve_position)
apology if this is very basic but im not a programmer…