Skip to content
Snippets Groups Projects
Commit 74de914c authored by jkerdreu's avatar jkerdreu
Browse files

Fix product_id should be a string not a enum item ! :)


git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/branches/0.7@3029 b32b6428-25c9-4566-ad07-03861ab6144f
parent 10082f76
No related branches found
No related tags found
No related merge requests found
...@@ -103,7 +103,7 @@ class YeelightDev(object): ...@@ -103,7 +103,7 @@ class YeelightDev(object):
self.on_properties(properties) self.on_properties(properties)
# we need to be connected to find out which model # we need to be connected to find out which model
if self.dev.product_id == None: if self.dev.product_id == None:
self.dev.product_id = self.bulb.bulb_type self.dev.product_id = str(self.bulb.bulb_type)
class RGBW(YeelightDev): class RGBW(YeelightDev):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment