How do I default the state of a switch? The documents say to invert for default.
Is there another way? I don’t need off to be on and on to be off logic changed.
switch:
- platform: gpio
name: "My Switch"
pin:
number: GPIO17
#inverted: true # This inverts the logic.. The on state is correct for me.
Or is there a way to turn the output off after boot?