Files
Home-AssistantConfig/config/packages/blink.yaml
Carlo Costanzo c464073a0d Standardizing on Headers for all YAML files.
- Updated comments in various YAML configuration files to provide clearer descriptions of functionalities and integrations.
- Improved documentation for alarm, alexa_media_player, backups, blink, cbyge, climate, finance, fridge, garadget, glances, hass_agent_homepc, holiday, ios, landscape_lighting, lightning, logger, medicine, nfc_tags, noonhome, office_motion, phynplus, powerwall, printer, processmonitor, proxmox, rachio, rheem_econet, roku, sleepiq, space, speedtest, stats, superbowl, vacuum, wireless, and youtube packages.
- Added relevant links and issue references where applicable to enhance user guidance and support.
2025-11-29 13:17:07 -05:00

64 lines
2.6 KiB
YAML
Executable File

#-------------------------------------------
# @CCOSTAN
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
# Blink Cameras - Motion snapshots and alerts via Blink integration.
#-------------------------------------------
######################################################################
## Blink camera monitoring and notifications. https://amzn.to/3lOYTCv
######################################################################
### Automations
##############################################################################
automation:
- alias: 'Fridge Temp Watch'
id: 2346efcd-e8a8-4e86-b5b6-43eBl1nkFr1dge95f
mode: single
trigger:
- platform: numeric_state
entity_id: sensor.blink_blink1_temperature
above: 60
for:
minutes: 20
- platform: state
entity_id: binary_sensor.refrigerator_door_open
to: 'on'
for:
minutes: 10
- platform: event
event_type: event_fridge_still_hot_loop
condition:
condition: or
conditions:
- condition: numeric_state
entity_id: sensor.blink_blink1_temperature
above: 60
- condition: state
entity_id: binary_sensor.refrigerator_door_open
state: 'on'
action:
- service: script.notify_engine
data:
title: 'Check Fridge'
value1: >
{% if trigger.platform == 'numeric_state' %}
The Blink camera temperature sensor has detected {{ states('sensor.blink_blink1_temperature') }} degrees for over 20 minutes.
{% elif trigger.platform == 'binary_sensor' and trigger.entity_id == 'binary_sensor.refrigerator_door_open' %}
The fridge door has been open for over 10 minutes.
{% else %}
The fridge is still hot after the previous alert. The fridge temperature is {{ states('sensor.blink_blink1_temperature') }} degrees. {% if is_state('binary_sensor.refrigerator_door_open', 'on') %}The fridge door is currently open.{% endif %}
{% endif %}
who: 'family'
group: 'information'
- wait_template: "{{ states.group.family.state == 'home' }}"
- service: script.speech_engine
data:
value1: "Please check the fridge. The fridge temperature is {{ states('sensor.blink_blink1_temperature') }} degrees for over 20 minutes. {% if is_state('binary_sensor.refrigerator_door_open', 'on') %}The fridge door is currently open.{% endif %}"
no_fridge: 1
- delay: 00:30:00
- event: event_fridge_still_hot_loop