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

2.0.0-beta GUI config does not show entur sensor. #33

Closed
repvik opened this issue Mar 25, 2023 · 4 comments
Closed

2.0.0-beta GUI config does not show entur sensor. #33

repvik opened this issue Mar 25, 2023 · 4 comments
Assignees

Comments

@repvik
Copy link

repvik commented Mar 25, 2023

I have an entur sensor "sensor.buss_flatasen_senter". This sensor is not available in the entity list on the card in the visual editor.
image

Using yaml editor and switching back to visual editor doesn't help either.

@jonkristian
Copy link
Owner

jonkristian commented Mar 25, 2023

Aha, good first issue for the beta. I did not think about sensors starting with something other than sensor.transport* , the code has a filter which filters through so you don't get all sensors but only those that is from entur, I might have to create a checkbox to disable that filter for those that have custom sensor names, or if there is some other common key we could filter on.

Maybe it's good enough to check if a sensor contains route_id attribute instead, I will test that and provide a fix.

@jonkristian jonkristian self-assigned this Mar 25, 2023
@repvik
Copy link
Author

repvik commented Mar 25, 2023

Can't you filter on "entities provided by entur integration"? (And have a toggle to disable filter if someone clever creates a helper sensor for some reason)

@jonkristian
Copy link
Owner

That would be real nice but unfortunately afaik there is no way to say get all sensors via an integration. I have some new code coming up which filters on route_id, so for now I think that should be ok. Coming up in a couple of minutes 😄

@repvik
Copy link
Author

repvik commented Mar 25, 2023

Works now.

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