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

Can't target/resetting Areas/Area ID's with Sub Buttons #584

Open
Andrewpaps opened this issue Jun 15, 2024 · 0 comments
Open

Can't target/resetting Areas/Area ID's with Sub Buttons #584

Andrewpaps opened this issue Jun 15, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Andrewpaps
Copy link

Describe the bug
Unable to specify within Sub Button a target Area ID for which to send service calls.

The following works in Developer Tools when called manually, but not within Bubble Card:

service: light.turn_off
target:
  area_id:
    - 2ad90885fa5111eaae53859d04696348

On occasion this will work once, but will not be saved permanently between card changes, as this info resets to the following:

type: custom:bubble-card
card_type: separator
sub_button:
  - tap_action:
      action: call-service
      service: light.turn_off
      target: {}

To Reproduce
Steps to reproduce the behavior:

  1. Create Bubble Card
  2. Create Sub Button
  3. Specify Tap Action: Service Call
  4. Provide an Area ID as a target

Expected behavior
Area ID is referenced to complete Service Call the same way it does in Developer Tools

Informations (please complete the following information):

  • Bubble Card version (v2.0.4)
  • Home Assistant version (v2024.6.2)
@Andrewpaps Andrewpaps added the bug Something isn't working label Jun 15, 2024
@Andrewpaps Andrewpaps changed the title Can't target Areas/Area ID's with Sub Buttons Can't target/resetting Areas/Area ID's with Sub Buttons Jun 15, 2024
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

1 participant