Hi,
as a newbie to HA, I am trying to set a bool if I am in home office.
Having a calendar with whole day events, I try this (according to https://www.home-assistant.io/integrations/calendar/)
alias: OttoHO_Start
trigger:
- platform: calendar
event: start
entity_id: calendar.urlaube
- platform: calendar
event: end
entity_id: calendar.urlaube
condition:
- condition: template
value_template: "{{ 'Otto HO' in trigger.calendar_event.summary }}"
action:
- if:
- "{{ trigger.event == 'start' }}"
then:
- service: telegram_bot.send_message
data:
message: Otto HO Start
- service: input_boolean.turn_on
target:
entity_id: input_boolean.otto_ho
else:
- service: telegram_bot.send_message
data:
message: Otto HO Ende
- service: input_boolean.turn_off
target:
entity_id: input_boolean.otto_ho
mode: single
But when trying to save I get:
Message malformed: Unable to determine action
Anyone knows how to solve?
Best regards and thanks in advance,
Otto