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

Feature: toggle attributes shown #229

Open
NODeeJay opened this issue Sep 23, 2023 · 2 comments
Open

Feature: toggle attributes shown #229

NODeeJay opened this issue Sep 23, 2023 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@NODeeJay
Copy link

I love the integration, for travelers from Czechia just perfect.
But it creates a lot of attributes, in my case most of them are not needed and/or redundant, and I can't exclude particular attributes in the recorder.

Can you add an option to choose which attributes are added to the sensor?

Thanks,
Alex

@Snuffy2
Copy link
Collaborator

Snuffy2 commented Sep 25, 2023

Honestly I'm not sure that is something I'm going to work on. Happy to review a PR if someone else would like to implement it.

@Snuffy2 Snuffy2 added enhancement New feature or request help wanted Extra attention is needed labels Sep 25, 2023
@jtbnz
Copy link

jtbnz commented Jan 17, 2024

as a workaround I have used split in a template And then to use in cards I use the mushroom template sensor:

{{states('sensor.harry_places').split(",")}}
gives:
['not_home', ' Seminar für Ausbildung und Fortbildung der Lehrkräfte Stuttgart (Abteilung Gymnasium)', ' office', ' educational_institution', ' Neue Vorstadt', ' 22-24', ' Hospitalstraße (since 10:58)']

{{states('sensor.harry_places').split(",")[1]}}
gives:
Seminar für Ausbildung und Fortbildung der Lehrkräfte Stuttgart (Abteilung Gymnasium)

{{states('sensor.harry_places').split(",")[0]}}
gives
not_home

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants