default manufacturer_string
This commit is contained in:
parent
681be1d752
commit
752f603066
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ class Gateway:
|
|||
@property
|
||||
def manufacturer_string(self) -> str:
|
||||
if not self.devices:
|
||||
raise NotImplementedError()
|
||||
return "UNKNOWN GATEWAY"
|
||||
device = list(self.devices.values())[0]
|
||||
return "%s %s" % (device.manufacturer, device.modelName)
|
||||
|
||||
|
|
Loading…
Reference in a new issue