refactor(tracker,sensor): combine registration and update sensor structs #216
Annotations
10 errors
build:
internal/hass/sensor/sensor_test.go#L43
unknown field State in struct literal of type SensorRegistrationInfo
|
build:
internal/hass/sensor/sensor_test.go#L44
unknown field StateAttributes in struct literal of type SensorRegistrationInfo
|
build:
internal/hass/sensor/sensor_test.go#L45
unknown field UniqueID in struct literal of type SensorRegistrationInfo
|
build:
internal/hass/sensor/sensor_test.go#L46
unknown field Type in struct literal of type SensorRegistrationInfo
|
build:
internal/hass/sensor/sensor_test.go#L51
unknown field Icon in struct literal of type SensorRegistrationInfo
|
build:
internal/hass/sensor/sensor_test.go#L53
unknown field Disabled in struct literal of type SensorRegistrationInfo
|
build:
internal/hass/sensor/sensor_test.go#L55
reg.RequestType undefined (type *SensorRegistrationInfo has no field or method RequestType)
|
build:
internal/hass/sensor/sensor_test.go#L95
unknown field State in struct literal of type SensorRegistrationInfo
|
build:
internal/hass/sensor/sensor_test.go#L96
unknown field StateAttributes in struct literal of type SensorRegistrationInfo
|
build:
internal/hass/sensor/sensor_test.go#L97
unknown field UniqueID in struct literal of type SensorRegistrationInfo
|