diff options
Diffstat (limited to 'home/dot_local/share/bin/executable_lights')
| -rw-r--r-- | home/dot_local/share/bin/executable_lights | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/home/dot_local/share/bin/executable_lights b/home/dot_local/share/bin/executable_lights new file mode 100644 index 0000000..69ea06c --- /dev/null +++ b/home/dot_local/share/bin/executable_lights @@ -0,0 +1,5 @@ +#!/bin/sh +cmd="$1" +[ -z "$cmd" ] && cmd="toggle" +curl -X POST "$HASS_SERVER/api/webhook/$cmd" + |