Binary Sensor on GPIO not working

I had my motion Sensor working on the Binary Pin till the last update and now it doesn’t show up on 0.81.2. The log shows this, any help?

File “/usr/local/lib/python3.6/site-packages/homeassistant/components/binary_sensor/”, line 52, in setup_platform
port_name, port_num, pull_mode, bouncetime, invert_logic))
File “/usr/local/lib/python3.6/site-packages/homeassistant/components/binary_sensor/”, line 75, in init
rpi_gpio.edge_detect(self._port, read_gpio, self._bouncetime)
File “/usr/local/lib/python3.6/site-packages/homeassistant/components/”, line 69, in edge_detect
RuntimeError: Failed to add edge detection