Clooos / Bubble-Card

Bubble Card is a minimalist card collection for Home Assistant with a nice pop-up touch.
MIT License
1.62k stars 46 forks source link

Possibility of adding user/device conditions to popups #275

Closed TinyShark closed 7 months ago

TinyShark commented 7 months ago

I was thinking of using bubble to display my alarm card based on a door opening trigger.

Problem is I would not want the popup to open on all devices that were currently on that view.

Is it possible to access the hass.user and implement a condition based on that?

e.g:

type: custom:bubble-pop-up
hash: '#alarmpanel'
name: Alarm
icon: mdi:siren
trigger_entity: binary_sensor.front_door
trigger_state: 'on'
trigger_close: true
users:
  - 581fca7fdc014b8b894519cc531f9a04
  - frontdooripad