jbuehl / solaredge

SolarEdge inverter logging data capture
GNU General Public License v3.0
288 stars 60 forks source link

Deprecation and sanity improvements #179

Closed oliv3r closed 1 year ago

oliv3r commented 1 year ago

Two small commits to improve quality of life.

Python 3.10 complains about isSet being deprecated, there's a drop-in replacement in the form of is_set.

The magic to store the hardcoded last0503 message fails if the path also contains /se already. We can do better here. Even better would have been to store this in /tmp or in /var/lib/semonitor, as storing it in the (distribution) source directory is a bit weird.