Skip to content

Instantly share code, notes, and snippets.

View zsarnett's full-sized avatar

Zack Barett zsarnett

View GitHub Profile
@zsarnett
zsarnett / openai_notif_motion_speaker.yaml
Last active July 23, 2023 03:06
Open AI Notification on Motion to Speaker
blueprint:
name: OpenAI - Speaker Notification on Motion
description:
Conversation agent generates a notification based on the upcoming calendar
agenda, location, and weather.
author: Zack Barett (Allen Porter)
domain: automation
input:
motion:
name: Motion Device
@zsarnett
zsarnett / openai_notification_speaker.yaml
Last active July 23, 2023 02:54
Open AI Notification to Speaker
blueprint:
name: OpenAI - Speaker Notification
description:
Conversation agent generates a notification based on the upcoming calendar
agenda, location, and weather.
author: Zack Barett (Allen Porter)
domain: automation
input:
notify_time:
name: Notification time
@zsarnett
zsarnett / camera_strategy.js
Last active January 3, 2023 19:52
Camera strategy to show all cameras on a view
/*
Camera strategy that shows all of your Cameras.
To use:
- store this file in `<config>/www/camera_strategy.js`
- Add lovelace resource: `/local/camera_strategy.js`, type JavaScript Module
- Create a new Lovelace dashboard and set as content:
views:
- title: Cameras
blueprint:
name: Test blueprint
domain: automation
input:
trigger_event:
name: Event to trigger on
description: This is a field you have to fill out
service_to_call:
name: Service to call
entity:
@zsarnett
zsarnett / Motion_Activate_custom_light.yaml
Last active March 8, 2022 01:29
Turn on light to custom brightness and warmness
blueprint:
name: "Turn on light to custom brightness and warmness"
description: "This Automation lights turn on when motion is detected in a room"
domain: automation
input:
motion:
name: "Motion Detector"
description: "This will be the motion detector device that triggers the lights to turn on"
selector:
entity:
@zsarnett
zsarnett / motion_open_blinds.yaml
Last active March 5, 2022 02:55
Open Blinds when motion is detected at a Certain Time of day
blueprint:
name: "Open Blinds when motion is detected at a Certain Time of day"
description: "This Automation has your Blinds open when motion is detected in a room"
domain: automation
input:
motion:
name: "Motion Detector"
description: "This will be the motion detector device that triggers the blinds to open"
selector:
entity:
@zsarnett
zsarnett / light_follow.yaml
Last active December 19, 2022 03:04
Make two lights follow each other
blueprint:
name: "Make two lights follow each other's state and brightness"
description: "This automation blueprint makes it so two lights will always be the same"
domain: automation
input:
light_1:
name: "Light #1"
description: "This will be one of the lights you want to control"
selector:
entity:
@zsarnett
zsarnett / custom_greeting_motion_trigger.yaml
Last active May 27, 2022 19:53
Custom Greeting from Motion Blueprint
blueprint:
name: Jarvis Greets you in the morning when you trigger a motion sensor
description: >
This automation blueprint sends TTS to a Speaker when motion is sensed once a day. Meaning the automation will only run one time per day
domain: automation
input:
name:
name: Name you want Jarvis to call you (optional)
description: Jarvis will use this name to address you
default: ''
blueprint:
name: Send TTS to a speaker when motion is sensed once a day
description: >
This automation blueprint sends TTS to a Speaker when motion is sensed once a day. Meaning the automation will only run one time per day
domain: automation
input:
motion_entity:
name: Motion Device
description: The motion device that will trigger the automation
selector:
@zsarnett
zsarnett / Garage_Open_Notification.yaml
Last active February 14, 2022 04:04
Garage Door Open Notification
blueprint:
name: Send a Notification when the garage door has been open for X min
description: >
This automation blueprint sends a notification to your phone when the garage door as been open for 10 min
domain: automation
input:
garage_device:
name: Garage Device
description: The garage device to monitor
selector: