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

Outdated signature on Home Assistant entity card #377

Open
4 tasks done
dhoeben opened this issue May 24, 2024 · 1 comment
Open
4 tasks done

Outdated signature on Home Assistant entity card #377

dhoeben opened this issue May 24, 2024 · 1 comment

Comments

@dhoeben
Copy link

dhoeben commented May 24, 2024

My Home Assistant version: 2024.5.4

My lovelace configuration method (GUI or yaml): yaml

What I am doing: Using a Home Assistant standard card

What I expected to happen: To not get this error

What happened instead: I got this error

Minimal steps to reproduce:

# The least amount of code possible to reproduce my error
  - type: entities
    card_mod:
      style: |
        ha-card {
          --switch-checked-track-color: rgb(var(--yellow));
        }
        #states div {
          margin: 0px 0px;
        }
    entities:
    - entity: light.boven
      state_color: false

# End of code

Error messages from the browser console:


You are using a custom card which relies on card-mod, and uses an outdated signature for applyToElement.
card-mod.js:1 The outdated signature will be removed at some point in the future. Hopefully the developer of your card will have updated their card by then.
card-mod.js:1 The card used card-mod to apply styles here: 
<hui-toggle-entity-row class=​"undefined">​</hui-toggle-entity-row>​

By putting an X in the boxes ([]) below, I indicate that I:

  • Understand that this is a channel for reporting bugs, not a support forum (https://community.home-assistant.io/).

  • Have made sure I am using the latest version of the plugin.

  • Have followed the troubleshooting steps of the "Common Problems" section of https://github.com/thomasloven/hass-config/wiki/Lovelace-Plugins.

  • Understand that leaving one or more boxes unticked or failure to follow the template above may increase the time required to handle my bug-report, or cause it to be closed without further action.

@ildar170975
Copy link
Contributor

2024.5.3
see no errors:

изображение

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