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

Action call service: input_boolean:toogle doesn’t work #199

Open
2 tasks
kwithus opened this issue Jun 21, 2022 · 3 comments
Open
2 tasks

Action call service: input_boolean:toogle doesn’t work #199

kwithus opened this issue Jun 21, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@kwithus
Copy link

kwithus commented Jun 21, 2022

Checklist:

  • I updated to the latest version available
  • I cleared the cache of my browser

Release with the issue:

Last working release (if known):

Browser and Operating System:

Description of problem:

I am trying to implement a call service action, however I do get an error

type: custom:slider-button-card slider: direction: top-bottom background: solid use_state_color: false use_percentage_bg_opacity: true toggle_on_click: false show_track: false force_square: false invert: true show_name: true show_state: true compact: false icon: show: true use_state_color: true tap_action: action: call-service service: input_boolean.turn_off data: {} target: entity_id: input_boolean.rollo_automation_wohnzimmer icon: '' action_button: mode: custom icon: mdi:power show: true show_spinner: true tap_action: action: call-service service: input_boolean.toggle data: {} target: entity_id: input_boolean.rollo_automation_wohnzimmer entity: cover.rollos_wohnzimmer name: WZ Alle
B3F1839C-D5B6-4C7E-AD49-5C0A0A3EC942

Javascript errors shown in the web inspector (if applicable):


Additional information:

@kwithus kwithus added the bug Something isn't working label Jun 21, 2022
@harryinet
Copy link

Same at my dashboard. Can´t i trigger an automation?

@davetoland
Copy link

davetoland commented Jan 31, 2023

You need to add an entity_id to the service data, something like this:

action_button:
  mode: custom
  show: true
  tap_action:
    action: call-service
    service: input_boolean.toggle
    service_data:
      entity_id: input_boolean.hvactoggle
      target_id: climate.living_room

@jrathg
Copy link

jrathg commented Feb 24, 2024

Getting the same behaviour here despite having declared the entity_ids The card doesn't appear to be passing the entity IDs back to the service call

Screen Shot 2024-02-24 at 11 18 34

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants