joshuar-go-hass-agent/internal/linux/power
Joshua Rich 2cf7dd4733 feat(linux): D-Bus overhaul
- rewrite dbusx package so that methods either act on a particular bus or require a bus passed as a parameter
- don't store D-Bus in context
- define a D-Bus API which stores bus connections which can be retrieved by other functions
- rework the linux controller to store the D-Bus api and pass to sensor/MQTT workers
- rework the linux controller so it can satisfy the agent's SensorWorker and MQTTWorker interfaces
2024-07-11 21:52:30 +10:00
..
dbus.go feat(linux): add desktop session idle sensor 2024-05-19 21:31:57 +10:00
laptop.go feat(linux): D-Bus overhaul 2024-07-11 21:52:30 +10:00
powerControl.go feat(linux): D-Bus overhaul 2024-07-11 21:52:30 +10:00
powerProfile.go feat(linux): D-Bus overhaul 2024-07-11 21:52:30 +10:00
powerState.go feat(linux): D-Bus overhaul 2024-07-11 21:52:30 +10:00
screenLock.go feat(linux): D-Bus overhaul 2024-07-11 21:52:30 +10:00
screenLockControl.go feat(linux): D-Bus overhaul 2024-07-11 21:52:30 +10:00