Hi there,
I’m new to HA, so sorry if I missed something obvious. I’m trying to turn on my coffee machine based on a calendar event, but it does not work. So any help is welcome.
calendar:
- platform: caldav
username: some_usr
password: some_pwd
url: some_url
custom_calendars:
- name: coffee
calendar: dostuff
search: 'coffee'
The entity is shown on the HA panel and also shows a correct on/off state. Then I tried to implement an automation based on the created calendar.dostuff_coffee.
- id: coffeego
alias: 'Coffee Time'
trigger:
platform: state
entity_id: calendar.dostuff_coffee
to: 'on'
action:
service: switch.turn_on
entity_íd: switch.coffein
Checking the config creates an error:
automation:
- Invalid config for [automation]: [entity_íd] is an invalid option for [automation]. Check: automation->action->0->entity_íd.
I would be very happy if someone could provide an automation based on a calendar event.
Additionally, is there a way to automatically turn the machine off at the end of the event? Or will I have to create a second trigger (after I got the first one working :))?
Thank you very much!
BR
Fo