This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blueprint: | |
name: Tradfri E2001/E2002 light Switch | |
description: > | |
Control light or group of lights with switch. | |
Based on https://gist.github.com/FloppyGit/efaa93c1d63676e30c4b61adb4a861ac | |
domain: automation | |
input: | |
source_switch_action: | |
name: Tradfri E2001/E2002 Switch | |
description: Switch triggers action. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MAIN_FUNC (){ | |
INIT_FUNC | |
AVAILABLE_TORRENT_FUNC | |
REMOVE_FUNC | |
} | |
INIT_FUNC () { | |
# IP:PORT | |
SERVER="localhost:9091" |