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

Fix wrong dev_type


git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/branches/0.7@2843 b32b6428-25c9-4566-ad07-03861ab6144f
parent f65dbe02
No related branches found
No related tags found
No related merge requests found
...@@ -61,7 +61,7 @@ class NAModule(object): # NWS: netatmo weather station ...@@ -61,7 +61,7 @@ class NAModule(object): # NWS: netatmo weather station
def build_dev(self,dtype,addr): def build_dev(self,dtype,addr):
dev = Device(dtype) dev = Device(dtype)
dev.devtype = dtype dev.dev_type = dtype
dev.address = addr dev.address = addr
dev.vendor_id = "NETATMO" dev.vendor_id = "NETATMO"
dev.product_id = "Netatmo:%s" % self.na_type dev.product_id = "Netatmo:%s" % self.na_type
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment