File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -392,7 +392,7 @@ def _all_locations(self):
392392 "members" : loc .members ,
393393 }
394394
395- # Smile P1 has one valid location, filter any left-overs
395+ # Smile P1 has one valid location, skip any left-overs
396396 if self .smile_type == "power" :
397397 return
398398
@@ -522,11 +522,13 @@ def _all_appliances(self):
522522 # Inject home_location as device id for legacy so
523523 # appl_data can use the location id as device id.
524524 self ._appl_data [self ._home_location ] = {
525- "name" : "P1" ,
526- "model" : "Smile P1" ,
527- "types" : {"power" , "home" },
528525 "class" : "gateway" ,
526+ "fw" : None ,
529527 "location" : self ._home_location ,
528+ "model" : "Smile P1" ,
529+ "name" : "P1" ,
530+ "types" : {"power" , "home" },
531+ "vendor" : "Plugwise B.V." ,
530532 }
531533 self .gateway_id = self ._home_location
532534
You can’t perform that action at this time.
0 commit comments