Giter Club home page Giter Club logo

Comments (4)

derwolff avatar derwolff commented on June 15, 2024 1

It's working after fix checkout and correction of my configuration.

waste_collection_schedule:
  sources:
    - name: ics
      args:
          file: "/config/custom_components/cal.ics"
  day_switch_time: "09:00" 

The example of my ICS File was only an extract of the entire file.
Thanks.

from hacs_waste_collection_schedule.

mampfes avatar mampfes commented on June 15, 2024

Hi, there was an issue in the documentation of the source configuration. Could you please check if the updated documentation fixes your issue:

https://github.com/mampfes/hacs_waste_collection_schedule/tree/fix_docu

Abbreviation: Move day_switch_time 4 spaces to the left.

from hacs_waste_collection_schedule.

derwolff avatar derwolff commented on June 15, 2024

It doesn't solve the issue. Only the next event from 27.05.2020 is shown.
Here is my configuration:

--------------------------------------------------
waste_collection_schedule:
  sources:
    - name: ics
      day_switch_time: "18:00"     #only for testing
      args:
        file: "/config/custom_components/waste_collection_schedule/cal.ics"
---------------------------------------------------

cal.ics

--------------------------------------------------
BEGIN:VEVENT
UID:5ec7844f68f00
DTSTART;VALUE=DATE:20200525
SEQUENCE:0
TRANSP:OPAQUE
LOCATION:nnn
SUMMARY:Graue Tonne
CLASS:PUBLIC
X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
DTSTAMP:20200522T095039Z
END:VEVENT
BEGIN:VEVENT
UID:5ec7844f69139
DTSTART;VALUE=DATE:20200527
SEQUENCE:0
TRANSP:OPAQUE
LOCATION:nnn
SUMMARY:Papiertonne
CLASS:PUBLIC
X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
DTSTAMP:20200522T095039Z
END:VEVENT
--------------------------------------------------

from hacs_waste_collection_schedule.

mampfes avatar mampfes commented on June 15, 2024

Hi, I found multiple issues:

  1. 51ead5c should fix your initial problem.
  2. Your configuration is still wrong:
waste_collection_schedule:
  day_switch_time: "18:00"     #only for testing
  sources:
    - name: ics
      args:
        file: "/config/custom_components/waste_collection_schedule/cal.ics"
  1. In your cal.ics the BEGIN:VCALENDAR / END:CALENDAR tags are missing

from hacs_waste_collection_schedule.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.