Open NODeeJay opened 1 year ago
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.
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
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