question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Local .ics Source displayed in the calendar, but sensor does not work

See original GitHub issue

Hi, i have a strange bug/issue… i use two sources in waste_collection_schedule. The first one is a URL Source and work perfect for me. The second one is a local .ics File. The Calender show both sources. But the sensor “AbfallBlau” from the local .ics only show the status “unknown”.

The ics File is from https://www.blauetonne-schlauetonne.de/

kraichtal_blauetonne.ics:

...
SUMMARY:Leerung der Blauen Tonne Schlauen Tonne
...

config.yaml:

waste_collection_schedule:
  sources:
    - name: ics
      args:
        file: "www/kraichtal_blauetonne.ics"
      customize:
        - type: Leerung der Blauen Tonne Schlauen Tonne
          alias: Blauetonne
          icon: mdi:delete-variant
      calendar_title: "Blauetonne"
  fetch_time: "04:00"
  day_switch_time: "10:00"

sensor.yaml:

- platform: waste_collection_schedule
    name: AbfallBlau
    details_format: "upcoming"
    value_template: '{{ value.daysTo }}'
    types:
        - Blauetonne

Maybe someone has an idea?! Thanks!

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
mampfescommented, Aug 7, 2022

Set the source_index attribute for the 2nd sensor of the second source (see documentation for details).

1reaction
renarenacommented, Aug 15, 2022

Thanks, that was it. So i am forced to use alias as type if i define it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

KoljaWindeler/ics: Integration that displays the next ... - GitHub
ICS. Adds a sensor to Home Assistant that displays the date and number of days to the next event. E.g. 5 days until...
Read more >
Waste Collection Schedule Framework - Custom Integrations
I have change my configuration from a local ICS file to the service provider ... But my sensors for the collection date will...
Read more >
Unable to open ICS files in Outlook 2010
Double clicking on an ICS file causes Outlook to display an error message stating "The file appointment.ics is not a valid Internet Calendar...
Read more >
ICalendar and event updates not working in Outlook
Just update the event details, double-click the ICS and the calendar will update. Note that this also works fine if you have published...
Read more >
OPAS Calendar Export - Fine Arts Software
The Calendar Export utility produces files that can be imported to other calendar programs such as Google. Calendars, smart phone applications and Outlook™....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found