my knowledge of C is limited, but I added the possibility to override the WAIT_TIME to make a reading by calling a service from Home Assistant. Personally I run a version of the code with no loop/WAIT_TIME at all, using only the service scheduled for reading by a HA automation.
my knowledge of C is limited, but I added the possibility to override the WAIT_TIME to make a reading by calling a service from Home Assistant. Personally I run a version of the code with no loop/WAIT_TIME at all, using only the service scheduled for reading by a HA automation.
Resolves https://github.com/psvanstrom/esphome-uh50reader/issues/1