Replies: 2 comments 1 reply
-
The ICS source does not split entries if they are in one ICS event by default. You can pass the split_at argument to split entries at a specific delimiter into multiple entries: To remove Terminverschiebung you can pass a regex as well. waste_collection_schedule:
sources:
- name: ics
args:
file: "www/2024-AWG.ics"
split_at: "/"
regex: (.*)/ !!! Terminverschiebung !!! |
Beta Was this translation helpful? Give feedback.
0 replies
-
Ich habe einfach mehrere Sensoren angelegt, vorher die .ICs Datei natürlich angepasst 😅 in dem Fall manuell im Editor mit "suchen und Ersetzen" (Proof of concept) sollte aber Recht einfach sein ein script dafür zu schreiben.
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm trying to make WCS work with the AWG in Wuppertal, Germany.
I have imported their ics file into WCS in configuration.yaml as follows
Unfortunately, they are not using ', ' as delimiter between individual collections taking place the same day.
Their Data is structured like this:
In order to handle this, I'm trying to change the delimiter in the join instruction from ', ' to '/'. I've already tried with the / escaped and non-escaped, but it's not working:
If I take the "Restmüll"-Sensor for instance, it will always only report "unknown":
What am I doing wrong? Should I try to regex-replace the '/' with ', ' in order to make this work or is there a better way to do this?
Thanks a lot in advance!
Colin
Beta Was this translation helpful? Give feedback.
All reactions