Ignore virtual virtual wine cellar #3
This commit is contained in:
		@@ -55,11 +55,13 @@ class HonConnection:
 | 
				
			|||||||
                    appliances = (await resp.json())["payload"]["appliances"]
 | 
					                    appliances = (await resp.json())["payload"]["appliances"]
 | 
				
			||||||
                    for appliance in appliances:
 | 
					                    for appliance in appliances:
 | 
				
			||||||
                        device = HonDevice(self, appliance)
 | 
					                        device = HonDevice(self, appliance)
 | 
				
			||||||
 | 
					                        if device.mac_address is None:
 | 
				
			||||||
 | 
					                            continue
 | 
				
			||||||
                        await asyncio.gather(*[
 | 
					                        await asyncio.gather(*[
 | 
				
			||||||
                            device.load_attributes(),
 | 
					                            device.load_attributes(),
 | 
				
			||||||
                            device.load_commands(),
 | 
					                            device.load_commands(),
 | 
				
			||||||
                            device.load_statistics()])
 | 
					                            device.load_statistics()])
 | 
				
			||||||
                    self._devices.append(device)
 | 
					                        self._devices.append(device)
 | 
				
			||||||
                except json.JSONDecodeError:
 | 
					                except json.JSONDecodeError:
 | 
				
			||||||
                    _LOGGER.error("No JSON Data after GET: %s", await resp.text())
 | 
					                    _LOGGER.error("No JSON Data after GET: %s", await resp.text())
 | 
				
			||||||
                    return False
 | 
					                    return False
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user