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 Fibaro wall plug #18845

Merged
merged 1 commit into from Nov 30, 2018
Merged

Conversation

pbalogh77
Copy link
Contributor

Description:

Fibaro wall plug with a lamp plugged in was misrecognized as a color light, generating crashes in the update function.

Checklist:

  • The code change is tested and works locally.
  • Local tests pass with tox. Your PR cannot be merged unless tests pass
  • There is no commented out code in this PR.

Fibaro wall plug with a lamp plugged in was misrecognized as a color light, generating crashes in the update function.
@ghost ghost added the in progress label Nov 30, 2018
@balloob balloob added this to the 0.83.2 milestone Nov 30, 2018
@pvizeli
Copy link
Member

pvizeli commented Nov 30, 2018

@pbalogh77 https://github.com/home-assistant/home-assistant/blob/1cfd4f4c8e1a3c840155d97aaeca15a2f8cebde6/homeassistant/components/light/fibaro.py#L74

Better to use name and if possible the unique_id property and let Home Assistant generate entity_id

@balloob
Copy link
Member

balloob commented Nov 30, 2018

@pvizeli maybe in future PR, no breaking change this PR as it's for hotfix.

@balloob balloob merged commit 8f50180 into home-assistant:dev Nov 30, 2018
@ghost ghost removed the in progress label Nov 30, 2018
balloob pushed a commit that referenced this pull request Nov 30, 2018
Fibaro wall plug with a lamp plugged in was misrecognized as a color light, generating crashes in the update function.
@balloob balloob mentioned this pull request Nov 30, 2018
@pbalogh77 pbalogh77 deleted the wall_plug_fix branch December 1, 2018 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants