File tree Expand file tree Collapse file tree 1 file changed +17
-6
lines changed Expand file tree Collapse file tree 1 file changed +17
-6
lines changed Original file line number Diff line number Diff line change @@ -28,16 +28,27 @@ def on_lifecycle_connection_success(
28
28
"Lifecycle Connection Success: %s" , str (lifecycle_connect_success_data )
29
29
)
30
30
31
- def on_lifecycle_attempting_connect (lifecycle_attempting_connect_data ):
32
- _LOGGER .info ("Lifecycle Attempting Connect - %s" , lifecycle_attempting_connect_data )
31
+
32
+ def on_lifecycle_attempting_connect (
33
+ lifecycle_attempting_connect_data : mqtt5 .LifecycleAttemptingConnectData ,
34
+ ) -> None :
35
+ _LOGGER .info (
36
+ "Lifecycle Attempting Connect - %s" , str (lifecycle_attempting_connect_data )
37
+ )
33
38
34
39
35
- def on_lifecycle_connection_failure (lifecycle_connection_failure_data ):
36
- _LOGGER .info ("Lifecycle Connection Failure - %s" , lifecycle_connection_failure_data )
40
+ def on_lifecycle_connection_failure (
41
+ lifecycle_connection_failure_data : mqtt5 .LifecycleConnectFailureData ,
42
+ ) -> None :
43
+ _LOGGER .info (
44
+ "Lifecycle Connection Failure - %s" , str (lifecycle_connection_failure_data )
45
+ )
37
46
38
47
39
- def on_lifecycle_disconnection (lifecycle_disconnect_data ):
40
- _LOGGER .info ("Lifecycle Disconnection - %s" , lifecycle_disconnect_data )
48
+ def on_lifecycle_disconnection (
49
+ lifecycle_disconnect_data : mqtt5 .LifecycleDisconnectData ,
50
+ ) -> None :
51
+ _LOGGER .info ("Lifecycle Disconnection - %s" , str (lifecycle_disconnect_data ))
41
52
42
53
43
54
def on_publish_received (data : mqtt5 .PublishReceivedData ) -> None :
You can’t perform that action at this time.
0 commit comments