Skip to content

Commit

Permalink
[Fix] modulesNamesList error #75
Browse files Browse the repository at this point in the history
  • Loading branch information
philippelt committed Dec 5, 2023
1 parent 74aa376 commit 93b134c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lnetatmo.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ def __init__(self, authData, home=None, station=None):
def modulesNamesList(self, station=None, home=None):
res = [m['module_name'] for m in self.modules.values()]
station = self.stationByName(station) or self.stationById(station)
res.append(self.stationByName(station)['module_name'])
res.append(station['module_name'])
return res

# Both functions (byName and byStation) are here for historical reason,
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setup(
name='lnetatmo',
version='4.0.0',
version='4.0.1',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
Expand All @@ -17,7 +17,7 @@
scripts=[],
data_files=[],
url='https://github.com/philippelt/netatmo-api-python',
download_url='https://github.com/philippelt/netatmo-api-python/archive/v4.0.0.tar.gz',
download_url='https://github.com/philippelt/netatmo-api-python/archive/v4.0.1.tar.gz',
license='GPL V3',
description='Simple API to access Netatmo weather station data from any python script.'
)

0 comments on commit 93b134c

Please sign in to comment.