I want to create an automation based on reminders that are set on my Alexa device.
For example, if I say: ‘Alexa, remind me tomorrow at 10 AM to do something,’ I want a text to be sent via Telegram when the reminder is triggered, containing the reminder’s context. In this case, the text would say: ‘Do something.’
Is this possible? I haven’t found anything similar.
Thank you with this integration i was able to create my Automation.
For those who are interested, here is my automation.
If a reminder is scheduled to play within the next 60 seconds, a message is sent using a Telegram bot. Suggestions are very welcome!
description: >-
Check if in the next minute a reminder is triggerd
trigger:
- platform: template
value_template: >
{% set reminder_time =
as_datetime(states('sensor.echo_next_reminder')) %} {%
if reminder_time is not none %}
{{ as_timestamp(reminder_time) | timestamp_custom('%Y-%m-%d %H:%M') == now().strftime('%Y-%m-%d %H:%M') }}
{% else %}
false
{% endif %}
condition: []
action:
- action: telegram_bot.send_message
metadata: {}
data:
message: >-
Here is your next reminder: {{
state_attr('sensor.echo_next_reminder', 'reminder') }}
mode: single