diff --git a/source/_integrations/calendar.google.markdown b/source/_integrations/calendar.google.markdown index 96ddd61667d..04d73c6c49a 100644 --- a/source/_integrations/calendar.google.markdown +++ b/source/_integrations/calendar.google.markdown @@ -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 %}