question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unknown type encountered: entities

See original GitHub issue

Checklist:

  • I updated to the latest version available
  • I cleared the cache of my browser

Release with the issue: 1.1.9 Last working release (if known): 1.1.8 Browser and Operating System: Chgrome on Windows 10

Description of problem: Since last update my restricted cards (type: entities) are no longer working, but if I don’t specify the “type” they do work.

Not really sure this was intended or not, haven’t seen anything on the release note that would introduce a breaking change.

Here my card-config:

          - type: entities
            show_header_toggle: false
            entities:
              - type: "custom:restriction-card"
                restrictions:
                  block: true
                row: true
                card:
#                  type: entities
                  name: Fridge
                  entity: switch.fridge
                  state_color: true
                  tap_action:
                    action: none
              - type: "custom:restriction-card"
                restrictions:
                  block: true
                row: true
                card:
                  type: entities
                  name: Dishwasher
                  entity: switch.dishwasher
                  state_color: true
                  tap_action:
                    action: none
              - type: "custom:restriction-card"
                restrictions:
                  block: true
                row: true
                card:
                  type: entities
                  name: Toaster
                  entity: switch.toaster
                  state_color: true
                  tap_action:
                    action: none

Here how it looks: image

Javascript errors shown in the web inspector (if applicable):

No console error apparently, sorry

Additional information:

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
iantrichcommented, Mar 20, 2020

it was more so an error on my part previously

0reactions
SeLLeRoNecommented, Mar 22, 2020

Just a side note, the “state_color: true” actually needs to be in “card:” inside the resttriction card, otherwise the icon color based on the state seems to be ignored.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unknown type encountered - Home Assistant Community
I've started having this for my input booleans after the .105 update too. It gives me: Unknown type encountered: toggle. entity: input_boolean.
Read more >
entity-button when updating to 0.105 : r/homeassistant - Reddit
Hi, I've encountered a problem when updating Home assistant from 0.104.3 ... Unknown type encountered: entity-button when updating to 0.105.
Read more >
Unknown type encountered: grid #146 - bytemeta
Hello. Im new to HKI but it looks awesome. Im running into an issue with one of my views stating that the grid...
Read more >
"Unknown type encountered" when using generic type in ...
I try to create class with generic type where I create function to read list of entities. And I know that I have...
Read more >
Unknown Type:`Unity.Entities.LinkedEntityGroup`
ArgumentException: Unknown Type:`Unity.Entities.LinkedEntityGroup` All ComponentType must be known at compile time.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found