Closed repvik closed 1 year ago
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.
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)
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 :smile:
Works now.
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.
Using yaml editor and switching back to visual editor doesn't help either.