Yes, using the when_deactivated property in the gpiozero library is a proper equivalent for detecting a falling edge on the GPIO pin, similar to how you would use GPIO.add_event_detect with the RPi.GPIO library.
Statistics: Posted by richardlittle — Tue Oct 29, 2024 3:51 am