1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Remove unused/absent property from Tuya (#156508)

This commit is contained in:
epenet
2025-11-13 19:32:08 +01:00
committed by GitHub
parent bb3cdd382b
commit f5b5b2fb70

View File

@@ -39,7 +39,6 @@ class IntegerTypeData(TypeInformation):
scale: float
step: float
unit: str | None = None
type: str | None = None
@property
def max_scaled(self) -> float:
@@ -97,7 +96,6 @@ class IntegerTypeData(TypeInformation):
scale=float(parsed["scale"]),
step=max(float(parsed["step"]), 1),
unit=parsed.get("unit"),
type=parsed.get("type"),
)