Occasionally Garage Cover Shows Wrong State

Titles says it all. Occasionally the garage door is physically open but the state recorded in the UI implies it is shut. I can see the sensor reporting open. Any ideas? I’m using the ecolink tilt sensor and the zooz16 multichannel relay to trigger the motor.

cover:
  - platform: template
    covers:
      garage_door1:
        friendly_name: "Garage Door 1"
        entity_id: binary_sensor.bay1_tilt_access_control_window_door_is_open
        value_template: "{{ is_state('binary_sensor.bay1_tilt_access_control_window_door_is_open', 'on') }}"
        device_class: garage
        open_cover:
          service: switch.toggle
          entity_id: switch.multirelay_channel1
        close_cover:
          service: switch.toggle
          entity_id: switch.multirelay_channel1
        stop_cover:
          service: switch.toggle
          entity_id: switch.multirelay_channel1
      garage_door2:
        friendly_name: "Garage Door 2"
        entity_id: binary_sensor.bay2_tilt_access_control_window_door_is_open
        value_template: "{{ is_state('binary_sensor.bay2_tilt_access_control_window_door_is_open', 'on') }}"
        device_class: garage
        open_cover:
          service: switch.toggle
          entity_id: switch.multirelay_channel2
        close_cover:
          service: switch.toggle
          entity_id: switch.multirelay_channel2
        stop_cover:
          service: switch.toggle
          entity_id: switch.multirelay_channel2
      garage_door3:
        device_class: garage
        friendly_name: "Garage Door3"
        entity_id: binary_sensor.bay3_tilt_access_control_window_door_is_open
        value_template: "{{ is_state('binary_sensor.bay3_tilt_access_control_window_door_is_open', 'on') }}"
        open_cover:
          service: switch.toggle
          entity_id: switch.multirelay_channel3
        close_cover:
          service: switch.toggle
          entity_id: switch.multirelay_channel3
        stop_cover:
          service: switch.toggle
          entity_id: switch.multirelay_channel3
    
    

Anyone have an idea?

have you checked a different device at the time to see if it shows wrong on more than one device… different browser etc…. Does a refresh show the correct state?

I usually use the Android HA app. Next time it happens I’ll try Chrome and reopening the HA app

@Bartem I had a typo the garage 2 entity when I created it. The garage 2 pointed to a non-existent entity. Haven’t had any issues since I fixed the entity name.