What's new
- Complete rewrite from bash to Python. Same behavior, but more maintainable going forward — dedupe via a shared module, JSON-native parsing instead of grep/sed, CI with lint.
- New: installer now offers to enable Wake-on-LAN on the wired NIC for more reliable TV-off at suspend.
- New: install now works on immutable-OS distros (Bazzite etc.) via a systemd-inhibit-based sleep listener where the usual sleep hook can't be installed.
- Internal rename:
lgpowercontrol→lgtvpc(paths, services, config). The old bash version stays available on thelegacy-bashbranch.
Updating
sudo /opt/lgpowercontrol/update.shExisting installs migrate automatically — settings and TV pairing carry over, no re-pairing needed.