File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -299,9 +299,11 @@ class User:
299299 """
300300 warnings .warn ("The 'User' class is no longer maintained by Netatmo" ,
301301 DeprecationWarning )
302- warnings .warn ("The 'User' class code is deprecated.\n " ,
303- RuntimeWarning )
302+
304303 def __init__ (self , authData ):
304+ #
305+ warnings .warn ("The 'User' class code is deprecated and no longer maintained by Netatmo.\n " ,
306+ RuntimeWarning )
305307 postParams = {
306308 "access_token" : authData .accessToken
307309 }
@@ -670,8 +672,10 @@ class HomeData:
670672 home : Home name of the home where's devices are installed
671673 """
672674 def __init__ (self , authData , home = None ):
675+ #
673676 warnings .warn ("The 'HomeData' class is deprecated'" ,
674677 DeprecationWarning )
678+ #
675679 warnings .warn ("The HomeData code is deprecated.\n " ,
676680 RuntimeWarning )
677681
You can’t perform that action at this time.
0 commit comments