joshuar-go-hass-agent/internal/linux/cpu/common.go

16 lines
368 B
Go

// Copyright 2024 Joshua Rich <joshua.rich@gmail.com>.
// SPDX-License-Identifier: MIT
package cpu
import "github.com/joshuar/go-hass-agent/internal/preferences"
const (
preferencesID = "cpu_sensors"
)
type WorkerPrefs struct {
DisableCPUFreq bool `toml:"disable_cpufreq" comment:"Set to true to disable CPU frequency sensors."`
preferences.CommonWorkerPrefs
}