Skip to content

Commit 8243fc9

Browse files
committed
[Merge] Merged homecoach refactoring
1 parent 495bf7b commit 8243fc9

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ There is no longer credential load at library import, credentials are loaded at
1616
> For most users (if not all) of this library, this is totally useless as we are accessing only OUR devices thus are not concerned by RGPD. You can then put your netatmo account email address, just in case some mail would be sent to it.
1717
> It is only an information for the Netatmo records, there is absolutely no use of this information by the library.
1818
19+
>[!CAUTION]
20+
> There are currently frequent authentication failures with Netatmo servers, returning exception ranging from 500 errors to invalid scope. Please check that you are not facing a transient failure by retrying your code some minutes later before reporting an issue.
21+
1922
### Install ###
2023

2124
To install lnetatmo simply run:

lnetatmo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ def __init__(self, clientId=None,
232232

233233
self._clientId = clientId or cred["CLIENT_ID"]
234234
self._clientSecret = clientSecret or cred["CLIENT_SECRET"]
235-
self._accessToken = None #accessToken or cred["ACCESS_TOKEN"] # Will be refreshed before any use
235+
self._accessToken = None # Will be refreshed before any use
236236
self.refreshToken = refreshToken or cred["REFRESH_TOKEN"]
237237
self.expiration = 0 # Force refresh token
238238

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
setup(
66
name='lnetatmo',
7-
version='4.1.5',
7+
version='4.2.0',
88
classifiers=[
99
'Development Status :: 5 - Production/Stable',
1010
'Intended Audience :: Developers',
@@ -17,7 +17,7 @@
1717
scripts=[],
1818
data_files=[],
1919
url='https://github.com/philippelt/netatmo-api-python',
20-
download_url='https://github.com/philippelt/netatmo-api-python/archive/v4.1.5.tar.gz',
20+
download_url='https://github.com/philippelt/netatmo-api-python/archive/v4.2.0.tar.gz',
2121
license='GPL V3',
2222
description='Simple API to access Netatmo weather station data from any python script.'
2323
)

0 commit comments

Comments
 (0)