Updated Google Calendar Integration doc to use condition attributes released in 0.115. (#16235)

This commit is contained in:
Danny Tsang 2021-01-21 13:00:09 +00:00 committed by GitHub
parent f52cc941ce
commit 97174ecd96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -221,8 +221,10 @@ For example, the actions following this condition will only be executed for even
```yaml
condition:
condition: template
value_template: "{{is_state_attr('calendar.calendar_name', 'message', 'vacation') }}"
- condition: state
entity_id: calendar.calendar_name
state: vacation
attribute: message
```
{% endraw %}