Skip to content

Commit ff2072d

Browse files
authored
add iCloud example (home-assistant#18904)
1 parent c13b15c commit ff2072d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

source/_integrations/caldav.markdown

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,15 @@ calendar:
4444
url: https://nextcloud.example.com/remote.php/dav
4545
```
4646
47+
```yaml
48+
# Example configuration.yaml entry for iCloud, calendars will be found automatically
49+
calendar:
50+
- platform: caldav
51+
username: !secret userIcloud
52+
password: !secret passIcloud
53+
url: https://caldav.icloud.com
54+
```
55+
4756
This example will generate default binary sensors for each calendar you have in your account. Those calendars will be `on` when there is an ongoing event and `off` if not. Events that last a whole day are ignored in those calendars. You have to setup custom calendars in order to take them into account or for advanced event filtering.
4857

4958
## Custom calendars

0 commit comments

Comments
 (0)