Hello,
I have an issue with pop-up cards since 2023.07. Browser-mod is installed and up-to-date.
When pressing a button, the pop-up opens fine and works as expected. Only actions are not being triggered when pressing a button on the pop-up.
This is the pop-up yaml code:
type: custom:popup-card
entity: switch.stopcontact_fiets
dismissable: true
title: Fiets Laden
card:
type: horizontal-stack
cards:
- type: conditional
conditions:
- entity: switch.stopcontact_fiets
state: 'off'
card:
type: horizontal-stack
cards:
- type: custom:mushroom-template-card
primary: Manueel Laden
secondary: ''
icon: mdi:power-socket-fr
entity: input_button.stopcontact_fiets_knop_gui
layout: vertical
icon_color: |-
{% if states('switch.stopcontact_fiets') == 'on' %}
blue
{% elif states('input_boolean.bool_fiets_laden') == 'on' %}
amber
{% endif %}
tap_action:
action: call-service
service: browser_mod.sequence
target: {}
data:
sequence:
- service: input_button.press
data:
entity_id: input_button.stopcontact_fiets_knop_gui
- service: browser_mod.close_popup
- type: custom:mushroom-entity-card
entity: input_boolean.bool_fiets_laden
icon: mdi:solar-power
layout: vertical
tap_action:
action: call-service
service: browser_mod.sequence
target: {}
data:
sequence:
- service: input_boolean.turn_on
data:
entity_id: input_boolean.bool_fiets_laden
- service: browser_mod.close_popup
name: Laden op Zonne Energie
secondary_info: none
- type: conditional
conditions:
- entity: switch.stopcontact_fiets
state_not: 'off'
card:
type: custom:mushroom-template-card
primary: Uitschakelen
secondary: ''
icon: mdi:power-socket-fr
entity: switch.stopcontact_fiets
icon_color: |-
{% if states('switch.stopcontact_fiets') == 'on' %}
blue
{% elif states('input_boolean.bool_fiets_laden') == 'on' %}
amber
{% endif %}
layout: vertical
tap_action:
action: call-service
service: browser_mod.sequence
target: {}
data:
sequence:
- service: input_button.press
data:
entity_id: input_button.stopcontact_fiets_knop_gui
- service: browser_mod.close_popup
The tap_action is calling browser mod sequence. The sequence should take an action and close the pop up. This was working fine until the update to 2023.07.
Any idea whats going wrong here?
Thanks.
Michiel