Gh61/lovelace-hue-like-light-card

Extend and standardize actions

Opened this issue · 1 comments

Gh61 commented

Rewrite the definition of actions to match the standardized HA Actions syntax.

Add standardized options:

  • tap_action
  • hold_action
  • double_tap_action

Also use the original HA tap, hold, double-tap detection.

Add all standard HA functions for all actions:

more-info, toggle, call-service, navigate, url, assist, none
+ support all the current specific card actions:
turn-on, turn-on, scene and hue-screen (remove default)
Let the hue-screen be default for tap action, more-info for the rest.

Allow use of on_ and off_ prefixed actions based on state of the card

Such as on_tap_action, off_tap_action, ...

Leave the current config options deprecated but working for some time.


Source code inspiration:

I am also having the problem described in #160 which still seems to be present in the latest version (v1.6.1).
In my case I running on a windows 10 tablet and I cannot get the popups to work in any browser (Tried edge, chrome, brave and firefox), however it works perfectly with a mouse.
Would love to use this plugin, let me know if you need any further information, or anything I can do to help.