Skip to content

Commit

Permalink
1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
tybritten committed Jan 17, 2021
1 parent a824ef2 commit f2d8ae4
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 14 deletions.
4 changes: 2 additions & 2 deletions ical_updater.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"sensor.ical": {
"updated_at": "2021-01-15",
"version": "1.0",
"updated_at": "2021-01-17",
"version": "1.2",
"local_location": "/custom_components/ical/__init__.py",
"remote_location": "https://raw.githubusercontent.com/tybritten/ical-sensor-homeassistant/master/__init__.py",
"visit_repo": "https://github.com/tybritten/ical-sensor-homeassistant/",
Expand Down
27 changes: 15 additions & 12 deletions info.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
# iCal Sensor Support for Home Assistant

in your configuration.yaml you'll need:
This integration will create sensors for the next few future calendar events, called:

```yaml
sensor:
- platform: ical
name: "My Calendar"
url: "http://url.to/ical"
```
* sensor.ical_my_calendar_event_0
* sensor.ical_my_calendar_event_1
* sensor.ical_my_calendar_event_2
(...)

It will create sensors for the next few future calendar events, called:
And it will create a calendar-entry that can be used in the calendar cards etc.

* sensor.my_calendar_event_0
* sensor.my_calendar_event_1
* sensor.my_calendar_event_2
* calendar.ical_my_calendar
### Setup

etc
The integration is set up using the GUI.

* Go to Configuration -> Integrations and click on the "+"-button.
* Search for "ical"
* Enter a name for the calendar, and the URL
* By default it will set up 5 sensors for the 5 nex upcoming events (sensor.ical_<calendar_name>_event_1 ~ 5). You can adjust this to add more or fewer sensors
* The integration will only consider events with a start time 365 days into the future by default. This can also be adjusted when adding a new calendar

0 comments on commit f2d8ae4

Please sign in to comment.