Hmm, immer wenn ich bei einem Item z.B.:
eingebe, dann wird beim Speichern das "cd." gelöscht.
Und dann geht der Codeblock nicht:
Was ist denn das für ein Problem?
Danke!
Thorsten
Code:
cd.plugins.netzwerk.udp(....)
Und dann geht der Codeblock nicht:
Code:
2017-11-18 15:25:46 ERROR Funksteckdosen.System1.TasteF-code <bound method Item.__code_run of Node: Funksteckdosen.System1.TasteF>: 'str' object has no attribute 'id' Traceback (most recent call last): File "/mfs/core/lib/config.py", line 263, in __call__ exec(self.bytecode, self.locals) File "<string>", line 1, in <module> NameError: name 'plugins' is not defined During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/mfs/core/lib/scheduler.py", line 421, in _worker obj(value, trigger) File "/mfs/core/lib/item.py", line 431, in __code_run value = self._codeobj(value, trigger) File "/mfs/core/lib/config.py", line 274, in __call__ self.node.id, tb[1], tb[2], e, self.code)) AttributeError: 'str' object has no attribute 'id'
Danke!
Thorsten
Kommentar