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

Impossible to use a Tuya cover (smart life) in a card. #34942

Closed
sidwin9 opened this issue Apr 30, 2020 · 6 comments
Closed

Impossible to use a Tuya cover (smart life) in a card. #34942

sidwin9 opened this issue Apr 30, 2020 · 6 comments
Labels

Comments

@sidwin9
Copy link

sidwin9 commented Apr 30, 2020

The problem

My cover Smart Life is no longer usable in a map, the states do not update and the open and close buttons cannot be used since the update to version 0.109.0.
This problem is caused by the fact that when my switch turns off the power a few seconds after an action, the state changes to unknown. Another problem, if I press Stop, I no longer have the 2 possibilities to go up or down, I only have one possibility, up or down.
image

Environment

  • Home Assistant Core release with the issue:
  • Last working Home Assistant Core release (if known):
  • Operating environment (Home Assistant/Supervised/Docker/venv):
  • Integration causing this issue:
  • Link to integration documentation on our website:

Problem-relevant configuration.yaml

Traceback/Error logs

Additional information

The cover states in the database are correct and update and the use of the cover.open_cover and cover.close_cover services are working properly.

@gysmo38
Copy link

gysmo38 commented Apr 30, 2020

Same issue with MQTT covers

@userMak
Copy link

userMak commented May 1, 2020

Hi
I have the same problem. But I am almost certain that this has to do with entities card. I have tuya covers also. If they are completely closed or opened they are working. If I have them half open then I can not operate them through fronted entities card. The tuya automations however are working ok. It has to do with entities card and the state of the cover which (when they are half opened) is known. Until 0.108.9 the entities card was working ok with state unknown.

@gysmo38
Copy link

gysmo38 commented May 1, 2020

For me same problem with MQTT covers. I have no state on it but I can only click on stop button. Up and down button do not work.
If I go to entities in configuration same problem.

@jvbp
Copy link

jvbp commented May 1, 2020

Same here with MQTT Covers. Only STOP button on entity card.
If I call service OPEN or CLOSE it works but it's enabled in the lovelace.

And in HA logs I see the message:
Went back to 108.8 and everything works again.

Went back to 108.8 and everything works again but this log persists.

@sidwin9
Copy link
Author

sidwin9 commented May 1, 2020

See the same topic
home-assistant/frontend#5664 (comment)

@bramkragten
Copy link
Member

The problem is Tuya reports the state unknown when it is not completely open or closed. I will remove the check for unknown in the frontend.

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

No branches or pull requests

6 participants