Files
2025-07-01 23:34:56 -07:00
..
2022-06-30 13:42:04 -07:00
2022-06-30 13:42:04 -07:00
2022-06-30 13:42:04 -07:00

GPIO switch that changes to input mode when off

Example:

switch:
  - platform: tri-state
    name: My Switch
    pin: 12
    on_state: true   # required.  This defines the output state when the switch is on. Set as true for high (VCC) or false for low (GND)