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

Call-service custom action not working for name action #1340

Closed
tobias-groeger opened this issue Jul 28, 2023 · 1 comment
Closed

Call-service custom action not working for name action #1340

tobias-groeger opened this issue Jul 28, 2023 · 1 comment
Labels

Comments

@tobias-groeger
Copy link
Contributor

tobias-groeger commented Jul 28, 2023

Describe the bug
When the custom action for holding the name is set to call-service the service data is not set properly.

To Reproduce
Steps to reproduce the behavior:

  1. Add a card_generic to your dashboard
  2. Pick call-service as action for ulm_name_hold_action
  3. Set service and entity for that service
  4. When name part of the card is held, an error is produced:
    Failed to call service timer/start. must contain at least one of entity_id, device_id, area_id.
- type: 'custom:button-card'
  template: card_generic
  entity: <entity>
  variables:
    ulm_name_hold_action: "call-service"
    ulm_name_hold_service: <some-service>
    ulm_name_hold_service_data:
      entity_id: <entity>

See documentation for custom actions.

Expected behavior
The given entity id is used as data of the service.

@mark1foley
Copy link

Is it possible that there is the same bug for ulm_icon_tap_action because I can't get that to work either. It always defaults to "toggle" regardless of what you set the variable too

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

2 participants