Yet Another WebIOPi+
 All Classes Namespaces Files Functions Variables Macros Pages
instance.py
Go to the documentation of this file.
1 DEVICES = {}
2 def deviceInstance(name):
3  if name in DEVICES:
4  return DEVICES[name]["device"]
5  else:
6  return None