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

Cannot read property 'setConfig' of undefined #5

Open
AngelofromTurin opened this issue Sep 11, 2019 · 1 comment
Open

Cannot read property 'setConfig' of undefined #5

AngelofromTurin opened this issue Sep 11, 2019 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@AngelofromTurin
Copy link

hi,
i tried to use thise card, but i have thise messagge in the ui editor....
i tried with type js and module in the main config lovelace...
what can i do ?

@aeckard87
Copy link

aeckard87 commented Jan 2, 2020

Hey @AngelofromTurin, just found this gem myself! I realized after playing around that you have to put the attribute name next to the entity in the key field:

Not sure if this is where your issue was, but hope it helps someone :)

key: binary_sensor.hallway_sensor_motion.battery_level

  - type: custom:entity-attributes-card
    title: Attributes
    heading_name: Entity
    heading_state: Battery Level
    filter:
      include:
        - key: binary_sensor.hallway_sensor_motion.battery_level
          name: Hallway Sensor

Annotation 2020-01-02 012500

@iantrich iantrich added the help wanted Extra attention is needed label Aug 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants