If a Shelly switch is unavailable, it disappears from the device list in GUIv2 shortly thereafter.
However in Node-RED, the status of the Custom Input remains “Connected” all the time.
Or is there another way to determine whether the Shelly switch is available or not?