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

more-info no longer opens on HA 113.x #33

Open
Mariusthvdb opened this issue Jul 25, 2020 · 3 comments
Open

more-info no longer opens on HA 113.x #33

Mariusthvdb opened this issue Jul 25, 2020 · 3 comments

Comments

@Mariusthvdb
Copy link
Contributor

as of HA 113, the more-info popups no longer open clicking on the entities in

      card.querySelector('#temp').addEventListener('click', event => {
        fireEvent(this, "hass-more-info", { entityId: aplSensor.config });
      });

throwing these errors:

Schermafbeelding 2020-07-25 om 23 06 19

(this is for another, manually added, querySelector, but the doesn’t matter, even the ‘official’ cards coded selectors don’t work (do nothing but throw an error) where they before opened the more-info with the specified sensor.)

@Mariusthvdb Mariusthvdb changed the title more-info no longer open on HA 113.x more-info no longer opens on HA 113.x Jul 25, 2020
@dnguyen800
Copy link
Owner

I'm not able to reproduce the issue and I'm running on HA 0.113.2. You should switch back to an unmodified version of the card, reset your cache, and see if the issue occurs again.

@Mariusthvdb
Copy link
Contributor Author

of course I had already tried that, and, as said the error is the exact same, only now for Face:

Schermafbeelding 2020-08-02 om 20 09 22

display is alright, only no more-info popup.

Schermafbeelding 2020-08-02 om 20 09 27

Ha 113.3 meanwhile.

@Mariusthvdb
Copy link
Contributor Author

I've found the cause:

listing the air-visual-card as an entity in the entities card like below

  - type: entities
    entities:
      - !include /config/lovelace/includes/include_aqi_woensdrecht.yaml
      - type: custom:auto-entities
        card:
          type: entities
          style: |
            ha-card {
              box-shadow: none;
              margin: 0px -16px -26px -16px;
            }
          title: Air quality
        show_empty: false
        filter:
          include:
            - entity_id: '*.luftdaten*'
            - entity_id: '*.u_s_*'
            - entity_id: '*.chinese_*'
            - entity_id: 'air_quality.*'

makes the card stop showing the more-info.
Using the card as a stand alone card (using the identical !include) does works alright, showing the more-info.

can this be solved somehow?

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

2 participants