What is the easiest way to invert the status of the garage door magnetic reed switch (door contact sensor) to read from Closed to Open when the the switch is closed?
Tried the "Swap "COVER_OPEN" and "COVER_CLOSED" could not get it to work. (It does invert the open/close button/symbol, It does not invert the contact sensor)
Kind of an ambiguous statement, I might have done it wrong.
Tried the "Swap "COVER_OPEN" and "COVER_CLOSED" could not get it to work. (It does invert the open/close button/symbol, It does not invert the contact sensor)
Kind of an ambiguous statement, I might have done it wrong.
Changing the " inverted: false" also failed.
binary_sensor:
- platform: status
name: "Status"
- platform: gpio
name: "Contact"
disabled_by_default: true
device_class: garage_door
id: contact
pin:
number: GPIO4
inverted: true
filters:
- delayed_on: 20ms
Any pointers would be appreciated..