Skip to content

Instantly share code, notes, and snippets.

View fastender's full-sized avatar
🎯
Focusing

fastender fastender

🎯
Focusing
View GitHub Profile
@fastender
fastender / sensors.yaml
Created April 18, 2023 11:25
Rounded Dashboard - Sensors - First attempt
- square: false
columns: 2
type: grid
cards:
- type: custom:stack-in-card
cards:
- type: horizontal-stack
cards:
- type: custom:mushroom-chips-card
chips:
@fastender
fastender / motion_illuminance_activated_entity.yaml
Last active May 29, 2022 19:12
Home Assistant BluePrint to turn on light, switch, scene or script based on motion and illuminance
blueprint:
name: Turn on light, switch, scene, script or group based on motion and illuminance.
description: >
Turn on a light, switch, scene, script or group based on motion detection, and low light level.
This blueprint uses helper entities you have to create yourself for some input values, to be able to dynamically set limits.
For instructions on creating the helper entities take a look in the Home Assistant Community forum topic:
https://community.home-assistant.io/t/turn-on-light-switch-scene-or-script-based-on-motion-and-illuminance-more-conditions/257085
@fastender
fastender / Zigbee2MQTT - Xiaomi Cube Controller.yaml
Created May 27, 2022 20:42
Aqara Magic Cube Zigbee2MQTT - 2022-05-05
blueprint:
name: Aqara Magic Cube Zigbee2MQTT - 2022-05-05
description: 'This Blueprint uses a Zigbee2MQTT built sensor to sort out the
38(+54) unique commands available from the Xiaomi Magic Cube Remote. (Some
unique commands are available thru templating only. See the related document.)
The split out of functions gives you the ability to assign local scripts or
functions to do the things you want the remote to do.
Functions that are left empty will simply do nothing.
# Blueprint metadata
blueprint:
name: Controller - IKEA E1766 TRÅDFRI Open/Close Remote
description: |
# Controller - IKEA E1766 TRÅDFRI Open/Close Remote
Controller automation for executing any kind of action triggered by the provided IKEA E1766 TRÅDFRI Open/Close Remote.
Supports deCONZ, ZHA, Zigbee2MQTT.
Automations created with this blueprint can be connected with one or more [Hooks](https://epmatt.github.io/awesome-ha-blueprints/docs/blueprints/hooks) supported by this controller.
@fastender
fastender / philips_324131092621.yaml
Created May 27, 2022 20:35
Controller - Philips 324131092621 Hue Dimmer switch
# Blueprint metadata
blueprint:
name: Controller - Philips 324131092621 Hue Dimmer switch
description: |
# Controller - Philips 324131092621 Hue Dimmer switch
Controller automation for executing any kind of action triggered by the provided Philips 324131092621 Hue Dimmer switch. Allows to optionally loop an action on a button long press.
Supports deCONZ, ZHA, Zigbee2MQTT.
Automations created with this blueprint can be connected with one or more [Hooks](https://epmatt.github.io/awesome-ha-blueprints/docs/blueprints/hooks) supported by this controller.
@fastender
fastender / ikea_e1743.yaml
Created May 27, 2022 20:34
Controller - IKEA E1743 TRÅDFRI On/Off Switch & Dimmer
# Blueprint metadata
blueprint:
name: Controller - IKEA E1743 TRÅDFRI On/Off Switch & Dimmer
description: |
# Controller - IKEA E1743 TRÅDFRI On/Off Switch & Dimmer
Controller automation for executing any kind of action triggered by the provided IKEA E1743 TRÅDFRI On/Off Switch & Dimmer. Allows to optionally loop an action on a button long press.
Supports deCONZ, ZHA, Zigbee2MQTT.
Automations created with this blueprint can be connected with one or more [Hooks](https://epmatt.github.io/awesome-ha-blueprints/docs/blueprints/hooks) supported by this controller.
@fastender
fastender / ikea_e1812.yaml
Created May 27, 2022 20:34
Controller - IKEA E1812 TRÅDFRI Shortcut button
# Blueprint metadata
blueprint:
name: Controller - IKEA E1812 TRÅDFRI Shortcut button
description: |
# Controller - IKEA E1812 TRÅDFRI Shortcut button
Controller automation for executing any kind of action triggered by the provided IKEA E1812 TRÅDFRI Shortcut button. Allows to optionally loop an action on a button long press.
Supports deCONZ, ZHA, Zigbee2MQTT.
Automations created with this blueprint can be connected with one or more [Hooks](https://epmatt.github.io/awesome-ha-blueprints/docs/blueprints/hooks) supported by this controller.
@fastender
fastender / cube_face_based.yaml
Last active April 3, 2022 10:27
Aqara Cube ZHA - Simplified face-based device control
blueprint:
name: Aqara Cube face-based
description: Control devices based on the cube's face.
domain: automation
input:
last_face_input:
name: Last face up numeric helper
description: Please select a Numeric Helper to be used to record the last face up.
selector:
entity:
@fastender
fastender / turn_off.yaml
Last active February 20, 2022 08:17
Turn off
blueprint:
name: Turn Off
description: >
Turn off a light, switch, scene, script or group based on a certain time. A Target entity (light, switch, scene or script) is required.
In addition you can define a blocking entity (any entity with state on/off), which blocks the automation from running when this entity's state is on.
domain: automation
input:
target_entity:
name: Target entity
@fastender
fastender / lights_off.yaml
Last active February 19, 2022 18:11
Lights off
blueprint:
name: Turn lights off
description: Turn lights off at defined time
domain: automation
input:
target_entity:
name: Light(s)
selector:
target:
entity: