Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 108098

synology calendar entries via alexa

$
0
0

Hello to all, first of all a happy new year to you and all my best wishes.
i hope someone can help my with the problem.
i did already connect the synoogy calendar via caldav with homeassistand and i can see the next appointments on my dashboard.
The question is if its there a way to ask alexa for the next events?
i did try it with creating this automation but its not working.

alias: Termine für morgen abfragen
sequence:
  - data:
      entity_id: calendar.my_calendar
      start_time: "{{ (now() + timedelta(days=1)).replace(hour=0, minute=0, second=0) }}"
      end_time: "{{ (now() + timedelta(days=1)).replace(hour=23, minute=59, second=59) }}"
    action: calendar.list_events
  - data_template:
      target: "{{ states('sensor.last_alexa_device') }}"
      message: >
        {% set events = state_attr('calendar.my_calendar', 'all_day') %} {% if
        events %}
          Morgen hast du folgende Termine: {{ events | join(', ') }}.
        {% else %}
          Du hast keine Termine für morgen.
        {% endif %}
    action: notify.alexa_media
description: ""

Thx for your halp and sorry for my bad english its not my main language.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 108098

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>