mqtt-io icon indicating copy to clipboard operation
mqtt-io copied to clipboard

Digital Output: fix initial state inconsistency

Open hacker-cb opened this issue 2 years ago • 0 comments

  1. Added logic to gpiod module to keep current state of the digital_output if no initial was set in config. For example, raspberrypi module has special value -1 to handle this case, but gpiod does not.

  2. Server digital_output initialization - publish to MQTT current state if no publish_initial was set in config.

hacker-cb avatar Oct 13 '21 15:10 hacker-cb