argon40
argon40 copied to clipboard
RuntimeError: Failed to add edge detection after update to HomeAssistantOS 12.3
Version of the custom_component
0.0.5
Configuration
...
argon40:
...
Describe the bug
After updating to HomeAssistant OS 12.3 the integration fails to load.
Debug log
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 404, in _async_setup_component
result = await task
^^^^^^^^^^
File "/config/custom_components/argon40/__init__.py", line 71, in async_setup
GPIO.add_event_detect(shutdown_pin, GPIO.BOTH, callback=event_detect_callback)
RuntimeError: Failed to add edge detection