This file contains 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: ZHA - Philips Hue Dimmer Switch - Fixed | |
description: 'Control lights with a Philips Hue Dimmer Switch. | |
The top "on" button will turn the lights on to the last set brightness | |
(unless the force brightness is toggled on in the blueprint). | |
This file contains 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
#!/usr/bin/env python3 | |
import argparse | |
import sqlite3 | |
import sys | |
def main(arguments): | |
parser = argparse.ArgumentParser() |