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

Blueprint : Problem with the entity picker. #109

Open
MicJour opened this issue Dec 16, 2022 · 11 comments
Open

Blueprint : Problem with the entity picker. #109

MicJour opened this issue Dec 16, 2022 · 11 comments

Comments

@MicJour
Copy link
Contributor

MicJour commented Dec 16, 2022

There is a problem with the entity picker. The field is no longer available to select an entity.

42181926-4A93-422C-AC39-F793F2D00A12

@GoTTi74
Copy link

GoTTi74 commented Dec 20, 2022

I was able to work around this issue by changing the blueprint yaml and replacing the lines containing:
type: entity-picker
with
selector:
entity:

See example:
screenshot

As you can see in the screenshot the "Entity of the card one" was changed in the blueprint and the "Entity of the card two" was left "as-is".

@Medic97
Copy link

Medic97 commented Dec 23, 2022

Restarting fixed it but if you try to add it comes back.

@cybrain29
Copy link

cybrain29 commented Jan 4, 2023

I was able to work around by replacing entity-picker to entity_picker and manually entering the entity values (no list available)

@xtraorange
Copy link

So, I accidentally discovered a workaround (and a potential clue to the issue here). If you navigate to a page where an entity picker is used elsewhere (I went to Dev tools->States - there's an entity picker under set state), and then navigate back to this page, the entity pickers get filled in correctly. If you refresh, they go away again.
I'm guessing the object isn't loaded by this config page, so you need another page to load it.

@emkab
Copy link

emkab commented Feb 5, 2023

any update on this? none of the above solutions work for me...

@MicJour
Copy link
Contributor Author

MicJour commented Feb 5, 2023

You can add the Blueprint even if you cannot complete the fields. Then you go to the /config/dwains-dashboard/configs/more_pages/your-file-name.yaml/ directory and complete the Data section manually in the page.yaml file.

51005826-3658-4321-B3F4-D97CF962008A

@emkab
Copy link

emkab commented Feb 7, 2023

You can add the Blueprint even if you cannot complete the fields. Then you go to the /config/dwains-dashboard/configs/more_pages/your-file-name.yaml/ directory and complete the Data section manually in the page.yaml file.

51005826-3658-4321-B3F4-D97CF962008A

Cool, but isn't this more of a bandaid? It would be awesome to have this bug fixed as this makes the set-up very long...

@computermaster0101
Copy link

computermaster0101 commented Mar 31, 2023

same issue is effecting multiple pages.

@ithaqua974
Copy link

I was able to work around this issue by changing the blueprint Yaml and replacing the lines containing: type: entity-picker with selector: entity:

See example: screenshot

As you can see in the screenshot the "Entity of the card one" was changed in the blueprint and the "Entity of the card two" was left "as-is".

it sounds great but I don't understand how you integrate this into your code can you show us a snippet of you code please?

@GoTTi74
Copy link

GoTTi74 commented Jul 12, 2024 via email

@ithaqua974
Copy link

I think i have done something wrong
i came from this
image
to
image
and as you can see
image
nothing really change

Hi Tristan Let’s take the blueprint “TheeCardGraphics“ as an example. This blueprint should let you select 3 entities and the original code is: image You can see the code I was referring to on line 17, 30 & 43.What I did is to change the code to: image As you can see, I replaced the original code with the one I suggested and for me it worked. Hope this helps!?

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

8 participants