mqtt-io
mqtt-io copied to clipboard
Digital Output: fix initial state inconsistency
-
Added logic to
gpiod
module to keep current state of thedigital_output
if noinitial
was set in config. For example,raspberrypi
module has special value-1
to handle this case, butgpiod
does not. -
Server
digital_output
initialization - publish to MQTT current state if nopublish_initial
was set in config.