We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cdb818a commit 681a0dfCopy full SHA for 681a0df
1 file changed
lnetatmo.py
@@ -299,6 +299,8 @@ class User:
299
"""
300
warnings.warn("The 'User' class is no longer maintained by Netatmo",
301
DeprecationWarning )
302
+ warnings.warn("The 'User' class code is deprecated.\n" ,
303
+ RuntimeWarning )
304
def __init__(self, authData):
305
postParams = {
306
"access_token" : authData.accessToken
@@ -670,6 +672,9 @@ class HomeData:
670
672
def __init__(self, authData, home=None):
671
673
warnings.warn("The 'HomeData' class is deprecated'",
674
675
+ warnings.warn("The HomeData code is deprecated.\n" ,
676
677
+
678
self.getAuthToken = authData.accessToken
679
680
"access_token" : self.getAuthToken
0 commit comments