Skip to content

Instantly share code, notes, and snippets.

@aneeshd
aneeshd / heating-cooling.yaml
Last active April 30, 2024 16:38 — forked from f45tb00t/heating.yaml
Home Assistant Blueprint For Heating/Cooling
blueprint:
name: Heating/Cooling Control and Window Sensor
description: Control your heating and cooling with options for group home, if temp is below
a specific value, set temp, and heating between specific times.
domain: automation
input:
state:
name: Scheduled State
description: The desired state.
selector:
@Resinchem
Resinchem / dryer.yaml
Created September 11, 2021 12:45
Dryer Notifications
# =====================================
# DRYER State and Notifications
# =====================================
- alias: "Dryer Start"
trigger:
platform: numeric_state
entity_id: sensor.dryer_indicator_on #Top photoresistor
above: 0.75
condition:
condition: template
@Resinchem
Resinchem / washer.yaml
Created January 2, 2021 02:13
Washer Notification
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
# Washing Machine Start/Finish
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
# input_boolean.notify_washer: turns voice notifications off/on - auto-off from 11 pm - 8 am
# sensor.washer_watts from Sonoff S31 w/Tasmota
- alias: 'Washer State - Start'
trigger:
platform: numeric_state
entity_id: sensor.washer_watts
@r3mcos3
r3mcos3 / heating.yaml
Created December 24, 2020 07:27
Home Assistant Blueprint For Heating
blueprint:
name: Heating Control
description: Control your heating with options for person home, if temp is below a specific value, set temp, and heating between specific times.
domain: automation
input:
heating:
name: Climate Device
description: The climate device to use.
selector:
entity:
@quallenbezwinger
quallenbezwinger / motion_controlled_scenes_enhanced.yaml
Last active October 3, 2023 13:57
Homeassistant blueprint for motion-activated light scene with surrounding light level check
blueprint:
name: Motion-activated light scene with surrounding light level check and optional ambient scene
description: Turn on a light scene when motion is detected. Three different scenes can be defined depending on time of day. Furthermore a source for checking sourrounding light can be defined to enable light only if it is dark enough.
domain: automation
source_url: https://gist.github.com/dirkk1980/3e5c23acb05fb639bafdc5036b91aae6
input:
motion_entity:
name: Motion Sensor
selector:
entity:
##
# Copyright (c) 2020 Valentin Weber
#
# After some minor modifications (as marked below) this EventGhost
# Python script provides a method to send requests to devices
# registered with the Join API <https://joaoapps.com/join/api/> from
# any EventGhost Python Script or Command.
#
# EventGhost usage: `eg.globals.JoinPushDevice(text="hello_world")`
##
@ctrl-freak
ctrl-freak / apk_zipalign_resign.md
Created July 24, 2020 02:01
Modifying Android APK and Resign on Windows
@arhamqureshi
arhamqureshi / sonarr_radarr_clean_up.py
Last active December 8, 2022 14:45
Delete original files after Sonarr/Radarr has finished importing them
# The purpose of this script is to remove the original file after
# Sonarr/Radarr has completed importing the file. This script can be
# scheduled to run using crontab or configured in sonarr/radarr
# to run after every import. This is up to you.
# (https://github.com/Sonarr/Sonarr/wiki/Custom-Post-Processing-Scripts)
# Passing arguments has been disabled in Sonarr v3 which is why I have this
# made this script.
# In order for this script to work properly you will need to disable
@jeffehobbs
jeffehobbs / vibration_sensor_ESP32_HA_how_to.txt
Last active March 7, 2024 09:59
Vibration Sensor for ESPHome/Home Assistant
GOAL: Send a push notification after the (vibrations from the) dryer cycle has completely stopped.
USING:
* Inexpensive hardware (see below)
* ESPhome (http://esphome.io) for chip firmware
* Home Assistant (http://hass.io) for sensor state machine and push notification.
---
SHOPPING LIST: