Skip to content

Instantly share code, notes, and snippets.

View zsarnett's full-sized avatar

Zack Barett zsarnett

View GitHub Profile
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 / 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
@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 / 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