Open
Description
When booting up, if there's a Low Trigger relay hooked up, it'll switch on immediately. Not good for a garage door opener. I think I found a solution for this though!
During our setup we run opener.setInvertValueToWrite(ON);
to flip the config. However when calling SensorDigitalOutput::onSetup()
, there's a line of code that doesn't care about that setting.
setStatus(OFF);
I think this should be more like the if (_invert_value_to_write) value = !value;
in the _switchOutput
method to write ON instead. Does this sound right ?