Skip to content

Commit

Permalink
fix: remove problematic code (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lash-L authored Jan 24, 2024
1 parent 2328c62 commit a9e12ca
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions roborock/containers.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,11 @@ class HomeDataDevice(RoborockBase):
f: bool | None = None
device_features: DeviceFeatures | None = None

def __post_init__(self):
if self.feature_set is not None and self.new_feature_set is not None and self.new_feature_set != "":
self.device_features = build_device_features(self.feature_set, self.new_feature_set)
# seemingly not just str like I thought - example: '0000000000002000' and '0000000000002F63'

# def __post_init__(self):
# if self.feature_set is not None and self.new_feature_set is not None and self.new_feature_set != "":
# self.device_features = build_device_features(self.feature_set, self.new_feature_set)


@dataclass
Expand Down

0 comments on commit a9e12ca

Please sign in to comment.