Files
home-assistant-core/homeassistant/components/binary_sensor
snagytx 59cad0f6ef add a small sleep before reading the rpi-gpio sensor (#5446)
* add a small sleep before reading the sensor

The read of the sensor might be incorrect if it's read too soon after the setup_input call. It might be isolated to my case where I rely on the the PI internal PULL, but once I added this sleep I never get false initial read. If you think this change is appropriate please merge it.

* Update rpi_gpio.py

* Update rpi_gpio.py

* Update rpi_gpio.py
2017-01-24 21:35:12 -08:00
..
…
…
2016-12-05 08:15:36 -08:00
…
…
…
2017-01-16 23:10:18 -08:00
2017-01-03 08:19:33 +01:00
…
…
…
2017-01-24 21:11:18 -08:00
…