Remote_rpi_gpio errors in the log cant seem to figure it out

hi last few updates buggered up my Remote Pi access
and i tried finding solutions i couldnt
on the github they said make a folder
under components the remote_rpi_gpio and copy the files in there so HA will update it
but its not working i still get errors

and not sure how you fix it?

here is the log

Logger: homeassistant.components.binary_sensor
Source: components/remote_rpi_gpio/__init__.py:61
Integration: Binary sensor (documentation, issues)
First occurred: 8:43:48 AM (2 occurrences)
Last logged: 8:43:48 AM

remote_rpi_gpio: Error on device update!
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 360, in _async_add_entity
    await entity.async_device_update(warning=False)
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 465, in async_device_update
    await task
  File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/components/remote_rpi_gpio/binary_sensor.py", line 100, in update
    self._state = remote_rpi_gpio.read_input(self._button)
  File "/usr/src/homeassistant/homeassistant/components/remote_rpi_gpio/__init__.py", line 61, in read_input
    return button.is_pressed
AttributeError: 'NoneType' object has no attribute 'is_pressed'