Add 'versionadded'

This commit is contained in:
C. R. Oldham 2015-11-16 08:37:26 -07:00
parent 6bdf98d2c6
commit 8823225c81
3 changed files with 12 additions and 0 deletions

View file

@ -16,6 +16,8 @@
'''
Static grains for the Philips HUE lamps
.. versionadded:: 2015.8.3
'''
__proxyenabled__ = ['philips_hue']

View file

@ -16,6 +16,8 @@
'''
Philips HUE lamps module for proxy.
.. versionadded:: 2015.8.3
'''
from __future__ import absolute_import
@ -40,7 +42,13 @@ def __virtual__():
return False
def _mkf(cmd_name, doc):
'''
Nested function to help move proxy functions into sys.modules
'''
def _cmd(*args, **kw):
'''
Call commands in proxy
'''
proxyfn = 'philips_hue.'+cmd_name
return __proxy__[proxyfn](*args, **kw)
return _cmd

View file

@ -16,6 +16,8 @@
'''
Philips HUE lamps module for proxy.
.. versionadded:: 2015.8.3
'''
from __future__ import absolute_import