This is a customisable daily weather notification sent to your phone that can also include tomorrow’s forecast. The notification icon will update depending on today’s forecast (android only).
The Automation
Trigger
The trigger is set to everyday at a time you specify. This will trigger the automation and send the notification at that time.
Today’s Forecast
Today’s forecast can include the following items:
Condition - weather condition (e.g. Sunny)
Temperature - high and low temperatures.
Precipitation - predicted amount of precipitation.
Wind - the wind speed and wind bearing.
Tomorrow’s Forecast
Tomorrow’s forecast can optionally be appended to the bottom of the notification.
Home Assistant companion application installed on a device.
Notes:
I have based this blueprint on the most popular weather integration (Met.no) and the attributes available. These attributes should be common to other weather integrations as well.
Updates
3/5/24 - Enabled multiple devices to be notified at once.
Notification sounds are controlled through your device or the companion app and not configured by the blueprint.
I don’t want to make it too granular for people so just want one option for wind but you can import the blueprint then edit it to remove the wind bearing part.
Hi, it looks like the free version of that integration only supports ‘hourly’ forecasts every three hours. This only provides the forecasted weather at that point in time.
I can look at adding this in however it’s a bit more complicated. Either I could set a notification to provide the forecast at a specific point in time (e.g. midday) or somehow aggregate the data from the hourly forecast to create my own daily one. I’ll have a think about it.
This blueprint works fine but I get my notifications in English while I have a Dutch version of the weather called KNMI.
Any chance to get the weather info in Dutch?
Hi, I’m not able to support Dutch directly in the blueprint however I’ve had a look at that custom integration and I think the easiest way for you to get the message in Dutch would be to ‘take control’ of the blueprint (see here).
You can then edit the message to show the message in Dutch:
The bits you’d want to change are ‘Condition:’, ‘Temp’ etc. If your forecast entities are also in Dutch it will be a bit more complicated and you will need to edit the set variables part too.
@mp583 thank you for the blueprint! Is there an option to only get notified when the temperature is forecasted to fall below a certain value? I would like to get a notification every time tonight’s or tomorrow’s temperature is forecasted to fall below the freezing point.
I think this will be tricky to implement in the blueprint as far as my knowledge goes as you’d need to set it as a condition but you’re only calling the service later on in the blueprint.
Your best way is likely to create a forecast template sensor and use that as a condition by ‘taking control’ of the blueprint.
This is an example template sensor for forecast you can add to your configuration.yaml:
This condition is if today’s temperature is forecasted below 2 degrees (assuming you’re using celcius), if you wanted tomorrow’s you’d need to use [1].temperature.
Thank you! I will test this soon. For now, I chose a different weather forecast intergration that provides separate entities for each parameter, for example temperature tomorrow, the day after tomorrow etc. Then it became a simple automation.