Skip to content

[Bug]: Issues with new boolean cover implementation #489

Closed
@donaldkwong

Description

@donaldkwong

LocalTuya Version

2025.1.1

Home Assistant Version

2025.1.2

Environment

  • Does the device work using the Home Assistant Tuya Cloud component?
  • Is this device connected to another local integration, including Home Assistant and any other tools?
  • The devices are within the same HA subnet, and they get discovered automatically when I add them

What happened?

Thanks for addressing #482 so quickly! Local Tuya is working better with my garage opener, but there are still a couple of issues:

  1. The initial state of the entity is "Open" right after creating it even though the garage door is closed.
  2. The entity's state moves immediately "Closed" while the garage door is closing (the cloud version of this entity only goes to the "Closed" state when the door is fully closed).
  3. When the entity is in the "Open" state, the close button is still disabled, so I can't close the door.

See attached video showing how the cloud and local entities are used and how they differ:

Screen.Recording.2025-01-17.at.10.23.39.AM.mov

Steps to reproduce.

  1. Add new garage device with 2025.1.1 version of Local Tuya with automatic configuration.
  2. Note that the initial state of the entity is "Open" even though the door is closed.
  3. Use Cloud version of entity to open and close garage door. Local version of entity now has correct state.
  4. Use local version of entity to open the garage door. Physical garage door opens, but entity's close button is still disabled. Cannot use it to close the garage door.
  5. Use Cloud version of entity to close the garage door. Physical garage door closes, but local version of entity's state moves immediately into "Closed" state before door is fully closed.

Relevant log output

Diagnostics information.

localtuya-01JHPZCGJGTFRBJY1GS78BRZ12-Garage door -b0cd8b7e5ad5a3ce7ba20da46c5ad83e.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions