Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hotfix for Netatmo discovery #3837

Merged
merged 1 commit into from
Oct 13, 2016
Merged

Conversation

jabesq
Copy link
Contributor

@jabesq jabesq commented Oct 12, 2016

Description:
Hotfix for the Netatmo discovery as it now uses by all netatmo devices (sensor, binary sensor and camera).

Related issue (if applicable): fixes #2601 and full error log seen during PR #3836

If the code does not interact with devices:

  • Local tests with tox run successfully. Your PR cannot be merged unless tests pass
  • Tests have been added to verify that the new code works.

@mention-bot
Copy link

@jabesq, thanks for your PR! By analyzing the history of the files in this pull request, we identified @HydrelioxGitHub, @fabaff and @Jypy to be potential reviewers.

try:
if CONF_MODULES in config:
# Iterate each module
for module_name, monitored_conditions in config[CONF_MODULES].items():

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

farcy v1.1

  • 80: E501 line too long (82 > 79 characters)

dev.append(NetAtmoSensor(data, module_name, variable))
else:
for module_name in data.get_module_names():
for variable in data.station_data.monitoredConditions(module_name):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

farcy v1.1

  • 80: E501 line too long (83 > 79 characters)

@jabesq jabesq mentioned this pull request Oct 12, 2016
8 tasks
This should definetly fix home-assistant#2601

Signed-off-by: Hugo D. (jabesq) <jabesq@gmail.com>
@balloob balloob merged commit 9a0bb62 into home-assistant:dev Oct 13, 2016
@jabesq jabesq deleted the Netatmo-Hotfix branch October 14, 2016 21:28
@gieljnssns gieljnssns mentioned this pull request Oct 17, 2016
8 tasks
@home-assistant home-assistant locked and limited conversation to collaborators Mar 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NetAtmo camera problem
5 participants