Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cover.toggle on an open garage goes to transient state opening, requiring me to toggle a 2nd time to actually close #501

Open
prashker opened this issue May 17, 2024 · 2 comments

Comments

@prashker
Copy link

prashker commented May 17, 2024

Describe the bug
I routinely open and close my garage using a widget on Android that calls cover.toggle. The first time I toggle on my open garage (state=Open) it switches to (state=Opening) with no action (garage stays open). Clicking toggle again works (closing my garage)

If it helps to debug: the garage opening is not performed via HASS (I manually do it with the OEM garage opener), that is why first event for day in HASS is "Opened"

Prior to transient states, my toggle was 100% reliable.

image

Your environment
HomeAssistant version: 2024.5.3 [Docker]
Hassio Version (if applicable): N/A
Hardware environment: msg100 4.0.0 by Meross Firmware: 4.2.12
Meross Home Assistant plugin version: 1.3.2

Logs taken when the issue happened
Not sure how to get more in depth logs, but attached screenshot which shows Logbook reflecting my actions

@prashker
Copy link
Author

prashker commented May 17, 2024

As additional details (I think relevant enough for a comment)

From a closed garage (fully controlled via HASS) 🟢:

  • Opening via cover.toggle works (state=Closed->Opening->Opened)
  • Closing via cover.toggle works (state=Opened->Closing->Closed)

From a closed garage (hybrid approach) 🔴:

  • Opening via garages OEM remote works (state=Closed->Opened) (no inbetween state as not triggered by HASS, expected)
  • Closing via cover.toggle fails first time (state=Opened->Opening) does not close
  • Have to click cover.toggle a 2nd time (state=Opening->Closing->Closed)

@prashker
Copy link
Author

prashker commented Jun 1, 2024

For anyone visiting from the future, I managed to workaround this issue by setting up an automation to close my garage when it goes from "open" to "opening" (a transition that shouldn't be normally possible)

Working well for past few days!

alias: GARAGE - Open to Opening bug
description: Auto close when bug encountered
trigger:
  - platform: state
    entity_id:
      - cover.garage_msg100_main_channel
    from: open
    to: opening
condition: []
action:
  - service: cover.close_cover
    metadata: {}
    data: {}
    target:
      entity_id: cover.garage_msg100_main_channel
mode: single

Hope this helps in the interim!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant