Hi folks.
I´m absolutely new to HA. Maybe my question is too stupid but trust me that I spend some hours of “googeling” without success.
I have HA runing on RPI4 with cc2531 Stick for some Aquara sensors and have an 4port relais board connected.
This is in my configuration.yaml:
rpi_gpio:
switch:
- platform: rpi_gpio
ports:
05: Relais01
06: Relais02
invert_logic: true
This gives 2 entities and they are usable in Lovelace board. So far so good.
But I can´t find any way to use these relais in automations…
(The main purpose of my setup is to distribute some water sensors in my house and control my water valve in case of any leakages.)
I would be very happy about a helpful tip.
Thanks in advance
Mathias