Skip to content

Commit de3dc92

Browse files
committed
chore: cleanup lint
1 parent 537212c commit de3dc92

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

roborock/devices/device.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,13 +117,13 @@ def _on_message(self, message: RoborockMessage) -> None:
117117

118118
def diagnostic_data(self) -> dict[str, Any]:
119119
"""Return diagnostics information about the device."""
120-
extra: dict[str, Any]= {}
120+
extra: dict[str, Any] = {}
121121
if self.v1_properties:
122122
extra["traits"] = _redact_data(self.v1_properties.as_dict())
123123
return {
124-
"device": _redact_data(self.device_info.as_dict()),
125-
"product": _redact_data(self.product.as_dict()),
126-
**extra,
124+
"device": _redact_data(self.device_info.as_dict()),
125+
"product": _redact_data(self.product.as_dict()),
126+
**extra,
127127
}
128128

129129

roborock/devices/mqtt_channel.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ def __init__(self, mqtt_session: MqttSession, duid: str, local_key: str, rriot:
2828
self._local_key = local_key
2929
self._rriot = rriot
3030
self._mqtt_params = mqtt_params
31+
self._security_data = create_security_data(rriot)
3132

3233
self._decoder = create_mqtt_decoder(local_key)
3334
self._encoder = create_mqtt_encoder(local_key)

0 commit comments

Comments
 (0)