feat(hass,linux): ✨ use options pattern to create sensors #1030
Annotations
10 errors
golangci-lint:
internal/linux/system/hwmon.go#L54
ineffectual assignment to icon (ineffassign)
|
golangci-lint:
internal/hass/sensor/entities.go#L190
`intial` is a misspelling of `initial` (misspell)
|
golangci-lint:
internal/hass/sensor/entities.go#L54
parameter name 's' is too short for the scope of its usage (varnamelen)
|
golangci-lint:
internal/hass/sensor/entities.go#L66
parameter name 's' is too short for the scope of its usage (varnamelen)
|
golangci-lint:
internal/hass/sensor/entities.go#L80
parameter name 's' is too short for the scope of its usage (varnamelen)
|
golangci-lint:
internal/hass/sensor/entities.go#L192
parameter name 'e' is too short for the scope of its usage (varnamelen)
|
golangci-lint:
internal/linux/net/wifiSensor.go#L72
variable name 's' is too short for the scope of its usage (varnamelen)
|
golangci-lint:
internal/linux/power/powerState.go#L34
variable name 's' is too short for the scope of its usage (varnamelen)
|
golangci-lint:
internal/linux/power/screenLock.go#L29
variable name 's' is too short for the scope of its usage (varnamelen)
|
golangci-lint:
internal/hass/sensor/entities.go#L60
return statements should not be cuddled if block has more than two lines (wsl)
|
Loading