-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
17 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |