Skip to content

Commit f5b5b2f

Browse files
authored
Remove unused/absent property from Tuya (home-assistant#156508)
1 parent bb3cdd3 commit f5b5b2f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

homeassistant/components/tuya/models.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ class IntegerTypeData(TypeInformation):
3939
scale: float
4040
step: float
4141
unit: str | None = None
42-
type: str | None = None
4342

4443
@property
4544
def max_scaled(self) -> float:
@@ -97,7 +96,6 @@ def from_json(cls, dpcode: DPCode, data: str) -> Self | None:
9796
scale=float(parsed["scale"]),
9897
step=max(float(parsed["step"]), 1),
9998
unit=parsed.get("unit"),
100-
type=parsed.get("type"),
10199
)
102100

103101

0 commit comments

Comments
 (0)