Implement static grains for the Philips HUE

This commit is contained in:
Bo Maryniuk 2015-10-14 01:33:24 +02:00 committed by C. R. Oldham
parent 5d3c3e09fc
commit 6a08d2b6b5

View file

@ -0,0 +1,34 @@
# -*- coding: utf-8 -*-
'''
Generate baseline proxy minion grains
'''
__proxyenabled__ = ['philips_hue']
__virtualname__ = 'hue'
def __virtual__():
if 'proxy' not in __opts__:
return False
else:
return __virtualname__
def kernel():
return {'kernel': 'RTOS'}
def os():
return {'os': 'FreeRTOS'}
def os_family():
return {'os_family': 'RTOS'}
def vendor():
return {'vendor': 'Philips'}
def product():
return {'product': 'HUE'}