mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
fixes for the previous merge for #4896
removed duplicate example and duplicate text
This commit is contained in:
parent
5d3acf2f77
commit
ad3f1c3fe7
@ -42,11 +42,11 @@ calendar:
|
|||||||
# Example configuration.yaml entry for nextcloud, calendars will be found automatically
|
# Example configuration.yaml entry for nextcloud, calendars will be found automatically
|
||||||
calendar:
|
calendar:
|
||||||
- platform: caldav
|
- platform: caldav
|
||||||
|
username: john.doe
|
||||||
|
password: !secret caldav
|
||||||
url: https://nextcloud.example.com/remote.php/dav
|
url: https://nextcloud.example.com/remote.php/dav
|
||||||
```
|
```
|
||||||
|
|
||||||
Note that all day events only work for custom calendars.
|
|
||||||
|
|
||||||
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.
|
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.
|
||||||
|
|
||||||
|
|
||||||
@ -123,20 +123,6 @@ custom_calendars:
|
|||||||
|
|
||||||
### {% linkable_title Examples %}
|
### {% linkable_title Examples %}
|
||||||
|
|
||||||
Example entry for creating one custom calendar containing all events from the calendar "Agenda" which contain "HomeOffice" in the description, location, or summary.
|
|
||||||
```yaml
|
|
||||||
# Example configuration.yaml entry for baikal
|
|
||||||
calendar:
|
|
||||||
- platform: caldav
|
|
||||||
url: https://baikal.my-server.net/cal.php/calendars/john.doe@test.com/default
|
|
||||||
username: john.doe@test.com
|
|
||||||
password: !secret caldav
|
|
||||||
custom_calendars:
|
|
||||||
- name: 'HomeOffice'
|
|
||||||
calendar: 'Agenda'
|
|
||||||
search: 'HomeOffice'
|
|
||||||
```
|
|
||||||
|
|
||||||
All events of the calendars "private" and "holidays". Note that all day events are not included.
|
All events of the calendars "private" and "holidays". Note that all day events are not included.
|
||||||
```yaml
|
```yaml
|
||||||
# Example configuration.yaml entry for nextcloud
|
# Example configuration.yaml entry for nextcloud
|
||||||
|
Loading…
x
Reference in New Issue
Block a user