Correct arguments to MQTT will_set (#38036)
This commit is contained in:
1 parent
0cd8dce9df
commit
d8d48b0a21
2 files changed
+4
-3
No files matched your search
@@ -716,7 +716,8 @@ class MQTT:
|
||||
self._mqttc.will_set( # pylint: disable=no-value-for-parameter
|
||||
*attr.astuple(
|
||||
will_message,
|
||||
filter=lambda attr, value: attr.name != "subscribed_topic",
|
||||
filter=lambda attr, value: attr.name
|
||||
not in ["subscribed_topic", "timestamp"],
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user