fix dev.sid

This commit is contained in:
Cayo Puigdefabregas 2022-06-08 11:59:22 +02:00
parent 5932213764
commit dd68c5c410
1 changed files with 1 additions and 1 deletions

View File

@ -405,7 +405,7 @@ class Device(Thing):
def sid(self):
actions = [x for x in self.actions if x.t == 'Snapshot' and x.sid]
if actions:
return actions[0]
return actions[0].sid
@property
def tradings(self):