Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Browser Refresh issue when polulating card using auto-entities #184

Open
erkr opened this issue Jun 1, 2024 · 0 comments
Open

Browser Refresh issue when polulating card using auto-entities #184

erkr opened this issue Jun 1, 2024 · 0 comments

Comments

@erkr
Copy link

erkr commented Jun 1, 2024

The problem

Hi,

I tried to populate this neath card using the auto-entities card. I made a very simple setup to demonstrate:

type: custom:auto-entities
card_param: buttons
filter:
  template: |
    {%- set entities = states.input_boolean | 
        map(attribute='entity_id') | list -%}
    {{ entities }} 
  include: []
  exclude: []
card:
  type: custom:paper-buttons-row
  base_config:
    tap_action:
      action: toggle
    hold_action:
      action: more-info
show_empty: true

This only works initially, in de card editor and after saving:
image

It fails after the first browser refresh:
image

A fix would be great

Best Eric

What version of Paper Buttons Row has the issue?

2.1.3

What version of Home Assistant are you running?

2024.5.5

What version of the Frontend are you running?

20240501.1

Example YAML snippet

Provided

Anything in the logs that might be useful for us?

No response

Additional information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant