#I know I can use a senro template to
1 messages · Page 1 of 1 (latest)
This is the switch I want the status displayed in HA
``switch:
- platform: gpio
inverted: False
pin: 2
name: "Tira LED cocina"
id: rele_led_cocina
restore_mode: ALWAYS_ON``
Tried with id(rele_led_cocina).state and state.rele_led_cocina to no avail
Use states('switch.rele_led_cocina')