Skip to content

Instantly share code, notes, and snippets.

@bkuhns
bkuhns / yet_another_motion_automation.yaml
Last active March 9, 2023 22:40 — forked from networkingcat/yet_another_motion_automation.yaml
Homeassistant blueprint for motion-activated light scene
blueprint:
name: Yet Another Motion Automation (Forked)
description: >
# YAMA V10
Turn on lights or scenes when motion is detected.
Four different scenes can be defined depending on time of day.
class my_class
{
public:
struct args {
nullable<int> some_int;
nullable<float> some_float;
};
template<typename args_func>
my_class(args_func get_args)