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:
@@ -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"),
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user