Bubble-Card icon indicating copy to clipboard operation
Bubble-Card copied to clipboard

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

Open Andrewpaps opened this issue 8 months ago • 0 comments

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 avatar Jun 15 '24 11:06 Andrewpaps