joshuar-go-hass-agent/internal/linux/power
Joshua Rich 23b106da57 refactor: ♻️ centralise device code
- move most code to represent a device into os-agnostic package
- for os-specific device code, utilise a `*_os.go` file
- generate mqtt device info without generating a new device
2024-07-07 15:41:43 +10:00
..
dbus.go feat(linux): add desktop session idle sensor 2024-05-19 21:31:57 +10:00
idle.go refactor: ♻️ use a map[string]any for sensor attributes rather than requiring custom structs 2024-06-18 13:55:05 +10:00
laptop.go refactor: ♻️ centralise device code 2024-07-07 15:41:43 +10:00
powerControl.go refactor: ♻️ centralise device code 2024-07-07 15:41:43 +10:00
powerProfile.go refactor(linux): simplify linux worker types 2024-06-16 09:19:47 +10:00
powerState.go refactor(linux): simplify linux worker types 2024-06-16 09:19:47 +10:00
screenLock.go refactor(linux): simplify linux worker types 2024-06-16 09:19:47 +10:00
screenLockControl.go refactor: ♻️ centralise device code 2024-07-07 15:41:43 +10:00