Easiest way to get notifications and track race progress.
Instal HACS Integration - ICS KoljaWindeler/ics
ICS calendar for für Formel 1
Download - GP and qualifying round
Add your ICS calendar under /config/www/calendar
Example of automation notifications
Mardown card or Optional same template code for sensor tts notifications
Formel 1 United States GP Qualifying, in Austin, Startet in: 8 Tagen, 11 Stunden, 38 Minuten
=
type: markdown
content: |-
{% set event_start = state_attr('sensor.ics_4', 'start') %}
{% set current_time = now() %}
{% set time_delta = event_start - current_time %}
{% set description = state_attr('sensor.ics_4', 'description') %}
{% set location = state_attr('sensor.ics_4', 'location') %}
{% if time_delta.total_seconds() <= 0 %}
Formel 1, {{ description }}, läuft bereits
{% else %}
{% set days = time_delta.days %}
{% set seconds = time_delta.seconds %}
{% set hours = seconds // 3600 %}
{% set minutes = (seconds % 3600) // 60 %}
{% set remaining_time = [] %}
{% if days > 0 %}
{% set remaining_time = remaining_time + [days ~ ' Tagen'] %}
{% endif %}
{% if hours > 0 %}
{% set remaining_time = remaining_time + [hours ~ ' Stunden'] %}
{% endif %}
{% if minutes > 0 %}
{% set remaining_time = remaining_time + [minutes ~ ' Minuten'] %}
{% endif %}
{{ 'Formel 1 ' ~ description ~ ' in ' ~ location ~ ' Startet in: ' ~ ', '.join(remaining_time) }}
{% endif %}
Optional
Node Red Alexa tts
[{"id":"d0697afac806deaa","type":"function","z":"1f4a4002563530a1","name":"Sensor zu Text","func":"// Hier den Sensorwert entsprechend vorbereiten\nvar sensorValue = msg.data.attributes.description;\nvar attribute1 = msg.data.attributes.start;\nvar attribute2 = msg.data.attributes.location;\nvar attribute3 = msg.data.attributes.remaining;\n\n\n// Fahren Sie fort, weitere Attribute nach Bedarf hinzuzufügen\n\n// Hier den Text für Alexa erstellen\nvar alexaText = \"Formel eins, \" + sensorValue + \", in \" + attribute2 + \", Startet in \" + attribute3 + \" Tagen\" ;\n\n// Die Nachricht aktualisieren\nmsg.payload = alexaText;\n\n// Die Nachricht zurückgeben\nreturn msg;\n","outputs":1,"timeout":"","noerr":0,"initialize":"","finalize":"","libs":[],"x":460,"y":600,"wires":[["2e01339c3e8db24c"]]},{"id":"545023a7da4231d4","type":"api-current-state","z":"1f4a4002563530a1","name":"Formel 1","server":"1612d3ca.3c79fc","version":3,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","entity_id":"sensor.ics_4","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":300,"y":600,"wires":[["d0697afac806deaa"]]},{"id":"2e01339c3e8db24c","type":"api-call-service","z":"1f4a4002563530a1","name":"Text an Alexa","server":"1612d3ca.3c79fc","version":5,"debugenabled":false,"domain":"notify","service":"alexa_media_alexa_echo_dot","areaId":[],"deviceId":[],"entityId":[],"data":"{\"message\":\"{{payload}}\",\"title\":\"Formula 1\",\"data\":{\"method\":\"all\",\"push\":{\"thread-id\":\"Tonnen\"}}}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","output_location":"","output_location_type":"none","x":660,"y":600,"wires":[["fe5dc19c205bcf5e"]]},{"id":"aacd23573b745971","type":"ha-time","z":"1f4a4002563530a1","name":"15Min. vor Formula 1 Start","server":"1612d3ca.3c79fc","version":3,"exposeAsEntityConfig":"","entityId":"sensor.ics_4","property":"attributes.start","offset":"-15","offsetType":"num","offsetUnits":"minutes","randomOffset":false,"repeatDaily":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"sunday":true,"monday":true,"tuesday":true,"wednesday":true,"thursday":true,"friday":true,"saturday":true,"x":110,"y":600,"wires":[[]]},{"id":"1612d3ca.3c79fc","type":"server","name":"My Home Assistant","addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"","connectionDelay":false,"cacheJson":false,"heartbeat":false,"heartbeatInterval":"","statusSeparator":"","enableGlobalContextStore":false}]
or with extra template sensor
[{"id":"95fcd35f8982b7d8","type":"ha-time","z":"1f4a4002563530a1","name":"15Min. vor Formula 1 Start","server":"1612d3ca.3c79fc","version":3,"exposeAsEntityConfig":"","entityId":"sensor.ics_4","property":"attributes.start","offset":"-15","offsetType":"num","offsetUnits":"minutes","randomOffset":false,"repeatDaily":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"sunday":true,"monday":true,"tuesday":true,"wednesday":true,"thursday":true,"friday":true,"saturday":true,"x":110,"y":500,"wires":[["d53663e392910d5f"]]},{"id":"d53663e392910d5f","type":"api-current-state","z":"1f4a4002563530a1","name":"Formel 1","server":"1612d3ca.3c79fc","version":3,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","entity_id":"sensor.custom_formula_1_startzeit","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":320,"y":500,"wires":[["99680d5520d2718b"]]},{"id":"99680d5520d2718b","type":"api-call-service","z":"1f4a4002563530a1","name":"Text an Alexa","server":"1612d3ca.3c79fc","version":5,"debugenabled":false,"domain":"notify","service":"alexa_media_alexa_echo_dot","areaId":[],"deviceId":[],"entityId":[],"data":"{\"message\":\"{{payload}}\",\"title\":\"Formula 1\",\"data\":{\"method\":\"all\",\"push\":{\"thread-id\":\"Tonnen\"}}}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","output_location":"","output_location_type":"none","x":580,"y":500,"wires":[["fca557b2303bced2"]]},{"id":"1612d3ca.3c79fc","type":"server","name":"My Home Assistant","addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"","connectionDelay":false,"cacheJson":false,"heartbeat":false,"heartbeatInterval":"","statusSeparator":"","enableGlobalContextStore":false}]