Skip to content

feat(hass,linux): ✨ use options pattern to create sensors #1030

feat(hass,linux): ✨ use options pattern to create sensors

feat(hass,linux): ✨ use options pattern to create sensors #1030

Triggered via push December 22, 2024 01:58
Status Failure
Total duration 3m 32s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
golangci: internal/linux/system/hwmon.go#L54
ineffectual assignment to icon (ineffassign)
golangci: internal/hass/sensor/entities.go#L190
`intial` is a misspelling of `initial` (misspell)
golangci: internal/hass/sensor/entities.go#L54
parameter name 's' is too short for the scope of its usage (varnamelen)
golangci: internal/hass/sensor/entities.go#L66
parameter name 's' is too short for the scope of its usage (varnamelen)
golangci: internal/hass/sensor/entities.go#L80
parameter name 's' is too short for the scope of its usage (varnamelen)
golangci: internal/hass/sensor/entities.go#L192
parameter name 'e' is too short for the scope of its usage (varnamelen)
golangci: internal/linux/net/wifiSensor.go#L72
variable name 's' is too short for the scope of its usage (varnamelen)
golangci: internal/linux/power/powerState.go#L34
variable name 's' is too short for the scope of its usage (varnamelen)
golangci: internal/linux/power/screenLock.go#L29
variable name 's' is too short for the scope of its usage (varnamelen)
golangci: internal/hass/sensor/entities.go#L60
return statements should not be cuddled if block has more than two lines (wsl)
test
Unexpected input(s) 'file', valid inputs are ['binary', 'codecov_yml_path', 'commit_parent', 'directory', 'disable_file_fixes', 'disable_search', 'disable_safe_directory', 'dry_run', 'env_vars', 'exclude', 'fail_ci_if_error', 'files', 'flags', 'git_service', 'gcov_args', 'gcov_executable', 'gcov_ignore', 'gcov_include', 'handle_no_reports_found', 'job_code', 'name', 'network_filter', 'network_prefix', 'os', 'override_branch', 'override_build', 'override_build_url', 'override_commit', 'override_pr', 'plugins', 'report_code', 'report_type', 'root_dir', 'skip_validation', 'slug', 'swift_project', 'token', 'url', 'use_legacy_upload_endpoint', 'use_oidc', 'verbose', 'version', 'working-directory']