Skip to content

Instantly share code, notes, and snippets.

@fireboy1919
fireboy1919 / light-state-sync.yaml
Last active June 9, 2024 05:18
Synchronize States Between Two Lights
blueprint:
name: Synchronize brightness states
description: Synchronize the on/off state of 2 entities
domain: automation
input:
entity_1:
name: First entity
selector:
entity: {}
entity_2:
gitlab_repo = https://gitlab.com/gitlab-org/gitlab-ce.git gitlab_shell_repo = https://gitlab.com/gitlab-org/gitlab-shell.git
gitlab_development_root = $(shell pwd)
postgres_bin_dir = $(shell pg_config --bindir)
all: gitlab-setup gitlab-shell-setup support-setup
# Set up the GitLab Rails app
gitlab-setup: gitlab/.git gitlab-config gitlab/.bundle