Merge "hue-light: Add commas to mapping tuple"

This commit is contained in:
Zuul 2018-09-21 01:26:15 +00:00 committed by Gerrit Code Review
commit a76e466887
1 changed files with 3 additions and 1 deletions

View File

@ -292,7 +292,9 @@ def hue_light(registry, xml_parent, data):
hue_light.set('plugin', 'hue-light')
lightId = XML.SubElement(hue_light, 'lightId')
id_mapping = [('light-id', 'string', None)]
id_mapping = [
('light-id', 'string', None),
]
helpers.convert_mapping_to_xml(
lightId, data, id_mapping, fail_required=True)