Everything works as I’d like it to until the end. When I close the door, it goes from “open” to “closing” and then to “closed.” but after a moment or two, it reverts back to “closing” and stays there…
- platform: gpio
pin:
number: 19
inverted: true
mode:
input: true
pullup: true
name: "Garage Door No.1 Open Sensor"
id: open_endstop_binary_sensor_1
internal: true
on_press:
- cover.template.publish:
id: garage_door_1
state: OPEN
current_operation: IDLE
- binary_sensor.template.publish:
id: is_jammed_1
state: OFF
on_release:
- cover.template.publish:
id: garage_door_1
current_operation: CLOSING
- delay: 12s
- if:
condition:
binary_sensor.is_off: close_endstop_binary_sensor_1
then:
- binary_sensor.template.publish:
id: is_jammed_1
state: ON
[12:15:59][D][cover:170]: ‘No.1’ - Publishing:
[12:15:59][D][cover:176]: State: OPEN
[12:15:59][D][cover:186]: Current Operation: IDLE
[12:15:59][D][binary_sensor:036]: ‘Garage Door No.1 Open Sensor’: Sending state OFF
[12:15:59][D][cover:170]: ‘No.1’ - Publishing:
[12:15:59][D][cover:176]: State: OPEN
[12:15:59][D][cover:186]: Current Operation: CLOSING
[12:16:10][D][sensor:094]: ‘WiFi Signal’: Sending state -43.00000 dBm with 0 decimals of accuracy
[12:16:11][D][cover:170]: ‘No.1’ - Publishing:
[12:16:11][D][cover:178]: State: CLOSED
[12:16:11][D][cover:186]: Current Operation: CLOSING
[12:16:48][D][esp32.preferences:114]: Saving 1 preferences to flash…
[12:16:48][D][esp32.preferences:143]: Saving 1 preferences to flash: 1 cached, 0 written, 0 failed