Utilisation Remote GPIO

Bonjour @Clemalex, merci pour ton aide.

Voici ce que j’ai trouvé dans « configuration / journaux » concernant « remote_rpi_gpio » :

*Logger: homeassistant.components.binary_sensor*
*Source: components/remote_rpi_gpio/__init__.py:61*
*Integration: Capteur binaire (documentation, issues)*
*First occurred: 17 avril 2021, 18:34:23 (1 occurrences)*
*Last logged: 17 avril 2021, 18:34:23*

*remote_rpi_gpio: Error on device update!*
*Traceback (most recent call last):*
*  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 365, in _async_add_entity*
*    await entity.async_device_update(warning=False)*
*  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 482, 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'*

Aucun message d’erreur concernant la déclaration du switch GPIO24.