Skip to content

Actions trigger the more-info window #217

Closed
@mgiako

Description

@mgiako

Hi,

I have this entity:

image

which checks the status and can restart an ESP32 on esphome

the code is:

              - entity: binary_sensor.trackerterrazzaconnected
                show_state: false
                icon: mdi:car-esp
                type: custom:multiple-entity-row
                name: Terrazza
                entities:
                  - entity: sensor.trackerterrazza_signal
                    state_color: true
                    name: RSSI

                  - entity: sensor.trackerterrazza_uptime
                    state_color: true
                    name: uptime
                    format: total

                  - entity: binary_sensor.trackerterrazzaconnected
                    icon: mdi:wifi
                    state_color: true
                    name: false
                    tap_action:
                      action: call-service
                      service: switch.turn_on
                      service_data:
                        entity_id: switch.trackerterrazzarestart
                      confirmation:
                        text: "Restart ESP Terrazza?"

Since 2021.12.b0 (and still now on 2021.12.0) when I click on the wifi icon the action is performed but it also opens the more-info window of the main element: binary_sensor.trackerterrazzaconnected.
The window opens even if I click cancel in the confirmation.

I have other similar entities, and it happens on all of them, except on those that have an input text as their main entity.

It did not happen with HA 2021.11.5.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions