This automation makes it quick and easy to setup a notification when there’s a risc of icy windows
Install the blueprint using the button below
or install it manually using the following:
Github Gist
blueprint:
name: Notify - Icy Windows Notification
description: Send a notification when there's risc of icy windows on cars
domain: automation
source_url: https://gist.github.com/ExeQue/6b796cceceac31322c0ab049fb634dfd
input:
temp_sensor:
name: Temperature Sensor
description: The sensor to base the automation on
selector:
entity:
domain: sensor
device_class: temperature
trigger_temp:
name: Trigger Temperature
description: Temperature at which to trigger the automation
default: 0
selector:
number:
min: -30
max: 100
trigger_time:
name: Time of day to trigger the automation
description: When would you like to get notified?
default: '07:00:00'
selector:
time:
notification_title:
name: Notification title (Optional)
description: 'Default: "Warning - Icy Windows"'
default: Warning - Icy Windows
notification_message:
name: Notification message (Optional)
description: 'Default: "Theres a risc of icy windows on the car"'
default: "There's a risc of icy windows on the car"
notify_device:
name: Device to notify
description: Device needs to run the official Home Assistant app to receive
notifications
selector:
device:
integration: mobile_app
trigger:
platform: time
at: !input 'trigger_time'
condition:
- condition: numeric_state
entity_id: !input 'temp_sensor'
below: !input 'trigger_temp'
variables:
temp_sensor: !input 'temp_sensor'
temperature: '{{ states(temp_sensor) }}'
trigger_temp: !input 'trigger_temp'
notify_device: !input 'notify_device'
notification_title: !input 'notification_title'
notification_message: !input 'notification_message'
action:
- domain: mobile_app
type: notify
device_id: !input 'notify_device'
title: '{{ notification_title }}'
message: '{{ notification_message }}'