home-assistant / ui-schema

A schema to define a user interface for Home Assistant.
Apache License 2.0
41 stars 6 forks source link

Feature Request: different service calls for tap and hold #200

Closed aprosvetova closed 5 years ago

aprosvetova commented 5 years ago

It'd be great if we could set different service calls for tap_action and hold_action on one entity.

Now I can set tap_action and hold_action to call-service, but there is no way to set different services and service_data.

I think that would require reorganization of this config block but I can't come up with a great solution that would be also backward compatible.