Nach Update sehe ich im Log:
Das Item schaut wie folgt aus:
Code:
2017-09-13 21:23:22 ERROR Main Item hwr.apcups.linev: problem creating: get_iattr_value() missing 1 required positional argument: 'attr'
Traceback (most recent call last):
File "/usr/local/smarthome/lib/item.py", line 378, in __init__
child = Item(smarthome, self, child_path, value)
File "/usr/local/smarthome/lib/item.py", line 439, in __init__
update = plugin.parse_item(self)
File "/usr/local/smarthome/plugins/apcups/__init__.py", line 49, in parse_item
apcups_key = (self.get_iattr_value(ITEM_TAG[0])).lower()
Code:
hwr:
apcups:
linev:
visu_acl: ro
type: num
apcups: linev
status:
enforce_updates: 'yes'
visu_acl: ro
type: str
apcups: status
timeleft:
visu_acl: ro
type: num
apcups: timeleft


Kommentar