PS: kann den fehler mit deinem File reproduzieren.. untersuche jetzt weiter
Ich update hier:
- ich vermute, das plugin kommt nicht damit klar, wenn NextDay am Anfang oder Ende des Files steht.. das Plugin ist halt echt MEGA flickwerk :-/
Jepp ist so:
wobei das auch an dieser stelle abgefangen wird.. das \n untersuche ich jetzt genauer
Ich update hier:
- ich vermute, das plugin kommt nicht damit klar, wenn NextDay am Anfang oder Ende des Files steht.. das Plugin ist halt echt MEGA flickwerk :-/
Jepp ist so:
Code:
2019-07-17 12:25:33 ERROR plugins.simulation NextDay 2019-07-17 12:25:33 ERROR lib.plugin Plugin 'simulation' exception in run() method: list index out of range > Traceback (most recent call last): > File "/python/smarthome/lib/plugin.py", line 674, in run > self.plugin.run() > File "/python/smarthome/plugins/simulation/__init__.py", line 74, in run > self._start_record() > File "/python/smarthome/plugins/simulation/__init__.py", line 137, in _start_record > tank = self._get_tank() > File "/python/smarthome/plugins/simulation/__init__.py", line 319, in _get_tank > self._lastentry = datetime.strptime(entry.split(';')[1], '%H:%M:%S') > IndexError: list index out of range
Kommentar