This code is usable only if you are on Home Assistant 0.114 or older
For Home Assistant 0.115 and newer please go to: https://github.com/AdamNaj/ZWaveGraphHA
This code is usable only if you are on Home Assistant 0.114 or older
For Home Assistant 0.115 and newer please go to: https://github.com/AdamNaj/ZWaveGraphHA
| #!/bin/bash | |
| # dbfin - Unload and Delete the Dropbox OS X Kernel Extension (Project inFinite) | |
| # (CC0) No Rights Reserved | |
| # Artiom Lichtenstein | |
| # v1.1, 31/05/2016 | |
| set -u | |
| fun_ECHOLOR() { | |
| echo -e "$(tput setaf $2)$(tput bold)$1$(tput sgr0)" |
| local alert = require("hs.alert") | |
| local timer = require("hs.timer") | |
| local eventtap = require("hs.eventtap") | |
| local events = eventtap.event.types | |
| local module = {} | |
| -- Save this in your Hammerspoon configuration directiorn (~/.hammerspoon/) | |
| -- You either override timeFrame and action here or after including this file from another, e.g. |