Gh61/lovelace-hue-like-light-card

Feature: add double click actions

Altosaxophony opened this issue · 3 comments

Hello, i cant get the onHoldAction and offHoldAction to work.

I use this card in Dwains Dashboard:

type: custom:hue-like-light-card
entity: light.buro
offClickAction: turn-on
offHoldAction: hue-screen
onClickAction: turn-off
onHoldAction: hue-screen

It works well for the ClickAction but when i hold, nothing happens. When i release from holding, it does the click action instead of popping up the hue-screen.

Anyway i am not happy with the Actions. Instead of "Hold" i need a double Tap action here. I also cannot get this to work:

double_tap_action:
..action: more-info

I think i am misunderstandig or doing something wrong : )
Thank you for your help

Hi, HoldActions are not released yet.
They're introduced in version 1.6.0 which I'm currently working on and plan to release in about a week.
Thank you for understanding.

As of double click - The hold actions would not be sufficient?

Hey Hey, i did not expected such fast response 👍 cool thank you and also thanks for all your work on this project.
I did not realized this is not released yet. Sure, take your time i did not intended to hurry

Good question. I would say it depends on which client device the card is used.
If touchscreen (Mobile, Tablet) then maybe hold is fine for some users.
If no touchscreen is used, then i find that the double click is more convenient and intuitive.
If you have got the time and feel like i would very much apreciate the DoubleTapAction.

Gh61 commented

There are many missing features around actions, so I created summary issue, which I'd like to implement at once.
See #167 - Extend and standardize actions