I hereby claim:
- I am albertzak on github.
- I am albertzak (https://keybase.io/albertzak) on keybase.
- I have a public key ASAnBNnvobaG3vg5KZ7mebwPLzcNhd2N4aDD8eVpNAP5nwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
(defn on-konami-code [] | |
(prn :konami-code-detected)) | |
(defn setup-konami-code-listener! [] | |
(let | |
[key | |
{37 :left | |
38 :up | |
39 :right | |
40 :down |
blueprint: | |
name: Switch Off At Sunrise | |
description: Turn off the following switches at sunset | |
domain: automation | |
input: | |
# Create a variable for identifying the light to act upon | |
target_switch: | |
name: Switches | |
description: This is the switch (or switches) that will be turned off at sunset | |
# Use a selector, to pick the light(s) |