Fix typing for climacell dataclass (#53240)
parent
165e1917ea
commit
6e88428f95
|
@ -158,7 +158,7 @@ class ClimaCellSensorMetadata:
|
|||
name: str
|
||||
unit_imperial: str | None = None
|
||||
unit_metric: str | None = None
|
||||
metric_conversion: Callable | float = 1.0
|
||||
metric_conversion: Callable[[float], float] | float = 1.0
|
||||
is_metric_check: bool | None = None
|
||||
device_class: str | None = None
|
||||
value_map: IntEnum | None = None
|
||||
|
|
Loading…
Reference in New Issue