psvanstrom / esphome-uh50reader

ESPHome custom component for communicating with Landis+Gyr T550 (UH50) heat/cold meters and reading usage data
MIT License
9 stars 3 forks source link

feat: add service to call from Home Assistant #3

Closed erikarenhill closed 1 year ago

erikarenhill commented 1 year ago

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