I have a similar problem. I’m on v0.103.5 trying to upgrade to 0.104.3. The check homeassistant configuration addon finds this error:
Failed config
General Errors:
- Platform error binary_sensor.remote_rpi_gpio - No module named 'pigpio'
My configuration.yaml is using the remote_rpi_gpio platform which does work in 103.5 and I don’t see any breaking change in 104.3 for that platform. What else can be looked at?
binary_sensor:
- platform: remote_rpi_gpio
This does show in my system log but not sure if it is related or just a coincidence.
Error while setting up platform remote_rpi_gpio
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 150, in _async_setup_platform
await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
return fut.result()
File "/usr/local/lib/python3.7/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 50, in setup_platform
address, port_num, pull_mode, bouncetime
File "/usr/src/homeassistant/homeassistant/components/remote_rpi_gpio/__init__.py", line 47, in setup_input
pin_factory=PiGPIOFactory(address),
File "/usr/local/lib/python3.7/site-packages/gpiozero/devices.py", line 124, in __call__
self = super(GPIOMeta, cls).__call__(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/gpiozero/input_devices.py", line 432, in __init__
bounce_time=bounce_time, pin_factory=pin_factory)
File "/usr/local/lib/python3.7/site-packages/gpiozero/mixins.py", line 383, in __init__
super(HoldMixin, self).__init__(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/gpiozero/input_devices.py", line 188, in __init__
self._fire_events(self.pin_factory.ticks(), self.is_active)
File "/usr/local/lib/python3.7/site-packages/gpiozero/mixins.py", line 368, in _fire_events
self._fire_activated()
File "/usr/local/lib/python3.7/site-packages/gpiozero/mixins.py", line 398, in _fire_activated
self._hold_thread.holding.set()
AttributeError: 'NoneType' object has no attribute 'holding'
UPDATE: I resolved this issue by commenting out the binary_sensor platform remote_rpi_gpio from my config file, updated to v104.3 and then enabled it again in the config and now it works.