Bonjour,
je voudrais utiliser le tap_action disponible pour la carte bar-card pour afficher une carte popup avec browser mod 2.0. Mais le popup s’affiche pas.

j’ai trouvé une issue pour bar card, le dev dit ca « The tap action option has been replaced by the integrated HA actions which allows more options. See Actions - Home Assistant » . Sauf que je n’arrive pas a trouvé la syntaxe correcte.
Quelqu’un aurait une solution ?
cards:
- type: custom:bar-card
entities:
- entity: sensor.processor_use
name: CPU
icon: phu:intel-cpu
height: 27px
min: '0'
max: '100'
tap_action:
action: more-info
hold_action:
action: fire-dom-event
browser_mod:
service: browser_mod.popup
data:
browser_id: THIS
size: normal
style: '--popup-border-radius: 10px;'
content:
type: custom:mini-graph-card
name: CPU Utilisé
icon: phu:intel-cpu
height: 101
hours_to_show: 24
points_per_hour: 2
hour24: true
line_width: 6
show:
fill: false
graph: line
icon: true
name: true
state: true
labels: false
extrema: true
average: true
icon_adaptive_color: true
entities:
- entity: sensor.processor_use
align_icon: right
align_state: center
line_color: rgb(68, 115, 158)
font_size: 100
animate: true
card_mod:
style: |
ha-card .header.flex .icon {
color: rgb(31, 111, 235);
--mdc-icon-size: 40px;
}