Skip to content

Instantly share code, notes, and snippets.

@alexbaldwin
alexbaldwin / hue_lutron_aurora_blueprint - toggle.yaml
Last active October 15, 2023 21:05 — forked from richlee91/zha_lutron_aurora_blueprint - toggle.yaml
Blueprint for Lutron Aurora automations in Hue. Toggles light on each button press
blueprint:
name: Hue - Lutron Aurora Dimmer - Toggle v1.0
description: 'Control lights with a Lutron Aurora Dimmer Pressing in the dimmer
button will toggle lights regardless of dimmer status. Rotating the dimmer will increase and decrease the light brightness.
Adjust the sensitivity if updates from the dimmer are being sent too quickly. Based on the great work of bjpetit!'
domain: automation
input:
remote:
name: Lutron Aurora Dimmer Switch
description: Lutron Aurora Z3-1BRL
<% base_url = "http://youdomain.com/" %>
<% pages = sitemap.resources.find_all{|p| p.source_file.match(/\.html/) } %>
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<% pages.each do |p| %>
<url>
<loc><%= base_url + p.destination_path.gsub('index.html','') %></loc>
<% if priority = p.metadata[:page]['priority'] %>
<priority><%= priority %> </priority>
<% end %>