I’ve implemented Atlas Scientific EZO ORP and pH sensor boards and its all mostly figured out. Both boards allow calibration and I’d like to have on Home Assistant (HA) dashboard a button to push (with calibration standard) so when I emerse probe into calibration standard just push button and set. Right now I have a button but had to hard code it for a particular standard value. I’d like to pass a value but it looks like ESPHome button/Template doesn’t support passed variables. Is that true or is there a way around it? Thanks in advance.
button:
- platform: template
name: “Orp Calibration”
on_press:- logger.log: “Button Pressed”
- lambda: id(orp_ezo).send_custom(“Cal,225”);
1 post - 1 participant