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

Fix proximity issue #5109

Merged
merged 1 commit into from
Dec 30, 2016
Merged

Fix proximity issue #5109

merged 1 commit into from
Dec 30, 2016

Conversation

titilambert
Copy link
Contributor

Description:
Hello, I got the following error in my HA logs:

c 28 10:52:30 androlapin hass[9740]: ERROR:homeassistant.core:Error doing job: Future exception was never retrieved
Dec 28 10:52:30 androlapin hass[9740]: Traceback (most recent call last):
Dec 28 10:52:30 androlapin hass[9740]:   File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
Dec 28 10:52:30 androlapin hass[9740]:     result = self.fn(*self.args, **self.kwargs)
Dec 28 10:52:30 androlapin hass[9740]:   File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/proximity.py", line 145, in check_proximity_state_change
Dec 28 10:52:30 androlapin hass[9740]:     if devide_state is None:
Dec 28 10:52:30 androlapin hass[9740]: NameError: name 'devide_state' is not defined

This PR fixes this exception, I'm just not sure about the patch.

Checklist:

  • Local tests with tox run successfully. Your PR cannot be merged unless tests pass

@mention-bot
Copy link

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

Copy link
Member

@pvizeli pvizeli left a comment

Choose a reason for hiding this comment

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

Thanks

@pvizeli pvizeli merged commit 9e66755 into home-assistant:dev Dec 30, 2016
@home-assistant home-assistant locked and limited conversation to collaborators Mar 30, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants