piitaya / lovelace-mushroom

Build a beautiful Home Assistant dashboard easily

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature]: Change / Customize cover status description

srodighiero opened this issue · comments

Is your feature request related to a problem?

Currently the percentage position is reported as "unknown".
image

Describe the solution you'd like

Would be more "elegant" to remove it, or at least have the possbility to customize it or leave just the % status

Describe alternatives you've considered

No response

Additional context

No response

If you don't use the buttons, you can use the template card for now.

Yes, but I wanted to use the controls/buttons

Which integration do you use for your cover? It's strange to have the percentage but not the state. I think the integration should be fixed.

It's the localtuya integration. I agree with you that probably this should be "fixed" by the integration

Could you send a screenshot from Developer Tools of the entity's current state and attributes?

I think the integration doesn't set the state to open or closed 😟
But the fix must be in the integration side. Custom cards must not fix integration issues.

LocalTuya is more of a middleman, transforming the DPs (data points, basically number key to value pairs) of Tuya devices into HA entities. For example, here's one of my lights:
image
But I think this issue should be closed, as it's not related to Mushroom; if it was, it would be a duplicate of #144.

Tile card has state_content option and most of mushroom features. You can use it to solve your issue : https://www.home-assistant.io/dashboards/tile