Skip to content

Commit 8962c6e

Browse files
committed
chore: revert mqtt channel changes
1 parent e691410 commit 8962c6e

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

roborock/devices/device.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def diagnostic_data(self) -> dict[str, Any]:
133133
REDACTED = "**REDACTED**"
134134

135135

136-
def _redact_data(data: T) -> T | dict[str, Any] | list[Any]:
136+
def _redact_data(data: T) -> T | dict[str, Any]:
137137
"""Redact sensitive data in a dict."""
138138
if not isinstance(data, (Mapping, list)):
139139
return data

roborock/devices/mqtt_channel.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ 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)
3231

3332
self._decoder = create_mqtt_decoder(local_key)
3433
self._encoder = create_mqtt_encoder(local_key)

0 commit comments

Comments
 (0)