Import remote gpio in HomeAssistant

Hello
On a second RPi I have installed a few switches at GPIO ports in Domoticz for watering my garden. I succeeded to import these switches into Homeassistant with HACS/remote_rpi_gpio.
The switched are showing in Homeassistant also as switches but I cannot manage these entities because “they do not have a unique ID”.
The problem is that they are showing in the display as “ON” in sted of “OFF” and they are also ON after a reboot or restarting Homeassistant. I need to turn them manualy to OFF.

Is it possible to have these switches/entities standard to OFF so I need to switch them manualy to ON??

you normally need to make a template of the entity to switch it around.
The spook integration adds a helper for this though.

Doable for beginner-level? :slight_smile:

You install the Spook integration and it can be done through HACS.
Then you go create a new inverse helper (Settings → Devices & Services → Helper tabs → Create Helper button)

Great, succeeded! Thanks!