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

Extend and standardize actions #167

Open
Gh61 opened this issue Jan 27, 2024 · 1 comment
Open

Extend and standardize actions #167

Gh61 opened this issue Jan 27, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@Gh61
Copy link
Owner

Gh61 commented Jan 27, 2024

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:

@paulgrove
Copy link

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.

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

No branches or pull requests

2 participants