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

(Bug Or Missing Feature) Cover card popup not working on tap #1471

Open
raresdragan opened this issue Mar 2, 2024 · 0 comments
Open

(Bug Or Missing Feature) Cover card popup not working on tap #1471

raresdragan opened this issue Mar 2, 2024 · 0 comments
Labels

Comments

@raresdragan
Copy link

raresdragan commented Mar 2, 2024

Describe the bug

First of all, I love this project. Kudos!

I'm trying without success to make the cover card open a popup (on tap) instead of closing / opening the cover.

Not 100% sure this is a bug.. if it's not supported, it would be a great feature.

Covers unlike other devices are a sensitive device to operate...
I'd prefer not to tap by mistake while using my dashboard, it happened for a cover to get stuck and break while accidentally actioning it via a tap.
So I want to disable the tap actions to close/open and instead display just the pop-up.

I tried to enable the popup without success:
First as suggested in the wiki:

                # Bedroom Cover / Shutter
                - type: "custom:button-card"
                  template: card_cover
                  entity: cover.studio_door_cover
                  name: Studio Door
                  variables:
                    ulm_card_cover_enable_controls: false
                    ulm_card_cover_enable_slider: false
                    ulm_card_cover_enable_popup: true

I only managed to see the more-info modal on long tap.
So I had to do a hack .. my current solution is the following..
(this disables accidental taps and opens the more-info modal instead of calling the close/open cover actions)

                # Bedroom Cover / Shutter
                - type: "custom:button-card"
                  template: card_cover
                  entity: cover.studio_door_cover
                  name: Studio Door Cover
                  variables:
                    ulm_card_cover_enable_controls: true
                    ulm_card_cover_enable_slider: false
                    ulm_card_cover_enable_popup: true

                    ulm_card_tap_haptic: "success"
                    ulm_card_hold_haptic: "success"
                    ulm_card_double_tap_haptic: "none"
                    ulm_card_double_tap_action: "none"
                    ulm_name_tap_haptic: "success"
                    ulm_name_tap_action: "more-info"
                    ulm_name_hold_haptic: "success"
                    ulm_name_double_tap_haptic: "none"
                    ulm_name_double_tap_action: "none"
                    ulm_icon_tap_haptic: "success"
                    ulm_icon_tap_action: "more-info"
                    ulm_icon_hold_haptic: "success"
                    ulm_icon_hold_action: "more-info"
                    ulm_icon_double_tap_haptic: "none"
                    ulm_icon_double_tap_action: "none"
                  tap_action:
                    haptic: "success"
                    action: "more-info"

Is there any way to get this behaviour via variables?

Thank you!

Using:

Home Assistant
Core
2024.2.3
Frontend
20240207.1

Screenshot 2024-03-02 at 17 43 12

Thank you.

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

1 participant