Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
pergolafabio authored Aug 30, 2023
1 parent 2ceea8b commit b9b810f
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions blueprints/doorbell-ringing.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
blueprint:
name: Doorbell ringing
description: >
**Version: 0.1**
This blueprint shows an example automation that displays a Home Assistant notification when a someone rings the doorbell
domain: automation
input:
doorbell_sensor:
name: Doorbell sensor *
description: The binary sensor associated with the doorbell ringing
selector:
entity:
domain: binary_sensor

variables:
doorbell_sensor: !input doorbell_sensor

trigger:
- platform: state
entity_id: !input doorbell_sensor
to: "on"

action:
- service: persistent_notification.create
data:
title: "Someone is at the door!"
message: "Someone ringed the doorbell"

0 comments on commit b9b810f

Please sign in to comment.