01-07-2026, 04:28 PM
I have F24 and HAv2 boards, is there a way to light up status LED (24V) of light switch when relay is open (240V) on F24, that doesn't rely on software?
I think most robust is something like this in ESPhome config but for regimentation I would prefer a non-software depending solution.
Thank you
I think most robust is something like this in ESPhome config but for regimentation I would prefer a non-software depending solution.
Thank you
Code:
- platform: gpio
name: "f24-output01"
id: f24_output01
pin:
pcf8574: pcf8574_hub_out_in_2
number: 12
mode: OUTPUT
inverted: true
on_turn_on:
- switch.turn_on: led_d6
on_turn_off:
- switch.turn_off: led_d6
