Skip to content

Instantly share code, notes, and snippets.

@insajd
insajd / run-on-timer.yaml
Last active October 6, 2023 16:42 — forked from Blackshome/run-on-timer.yaml
run-on-timer.yaml
blueprint:
name: Entity - Run ON Timer
description: "# ENTITY - RUN ON TIMER
Version: 1.4
The most common automation
used for a Entity Run on Timer. Select a entity so when you turn it ON the pre-set
time period will turn it OFF automatically.
Let us know what you think of this
@insajd
insajd / discovery_schemas.py
Last active September 27, 2019 13:38
File for zwave component in HA with fix to make opening valve position show up as curtain component.
"""Z-Wave discovery schemas."""
from . import const
DEFAULT_VALUES_SCHEMA = {
"power": {
const.DISC_SCHEMAS: [
{
const.DISC_COMMAND_CLASS: [const.COMMAND_CLASS_SENSOR_MULTILEVEL],
const.DISC_INDEX: [const.INDEX_SENSOR_MULTILEVEL_POWER],
},