8000 Expose Wemo component availability to home assistant by gstorer · Pull Request #14995 · home-assistant/core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000

Expose Wemo component availability to home assistant #14995

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

Merged
merged 4 commits into from
Jun 18, 2018
Merged

Expose Wemo component availability to home assistant #14995

merged 4 commits into from
Jun 18, 2018

Conversation

gstorer
Copy link
Contributor
@gstorer gstorer commented Jun 16, 2018

This is a simple change to expose the Wemo availability (i.e. does it have external power or connectivity) in home assistant.

This feature works a bit better with the following update to pywemo, although it is not required. Prior to the pull request below, pywemo had a tendency to report non-connectable devices as a 'available' in some cases.
pywemo/pywemo#100

@homeassistant homeassistant added platform: light.wemo small-pr PRs with less than 30 lines. labels Jun 16, 2018
@homeassistant
Copy link
Contributor

Hi @gstorer,

It seems you haven't yet signed a CLA. Please do so here.

Once you do that we will be able to review and accept this pull request.

Thanks!

@balloob
Copy link
Member
balloob commented Jun 16, 2018

Ok to merge when travis build issues addressed.

@gstorer
Copy link
Contributor Author
gstorer commented Jun 17, 2018

This should pass now. I thought the dimmer worked the same as the lights but the dimmer works like the bridge itself. It will not show up at all if it is not powered, making the change for the dimmer redundant so I have removed it.

@syssi
Copy link
Member
syssi commented Jun 17, 2018

Please fix the lint issue:

E:206,15: Instance of 'WemoDimmer' has no 'device' member (no-member)

gstorer added 2 commits June 17, 2018 13:35
Revert "Do not add availability feature to dimmer - it works differently"

This reverts commit f64e717.
@bachya
Copy link
Contributor
bachya commented Jun 18, 2018

Coverage issues aren't related to this PR; merging and closing.

@bachya bachya merged commit d07e40c into home-assistant:dev Jun 18, 2018
@ghost ghost removed the in progress label Jun 18, 2018
@gstorer gstorer deleted the wemo_availability_fix branch June 18, 2018 16:29
eavanvalkenburg pushed a commit to eavanvalkenburg/home-assistant that referenced this pull request Jun 28, 2018
…14995)

* Expose Wemo component availability to home assistant

* Do not add availability feature to dimmer - it works differently

* Brain fade, deleted completely the wrong thing.

Revert "Do not add availability feature to dimmer - it works differently"

This reverts commit f64e717.

* (2nd attempt) Do not add availability feature to dimmer - it works differently
@balloob balloob mentioned this pull request Jul 6, 2018
girlpunk pushed a commit to girlpunk/home-assistant that referenced this pull request Sep 4, 2018
…14995)

* Expose Wemo component availability to home assistant

* Do not add availability feature to dimmer - it works differently

* Brain fade, deleted completely the wrong thing.

Revert "Do not add availability feature to dimmer - it works differently"

This reverts commit f64e717.

* (2nd attempt) Do not add availability feature to dimmer - it works differently
@hokus15
Copy link
hokus15 commented Sep 6, 2018

@gstorer May this change be the cause for the error descibed in this thread?

@home-assistant home-assistant locked as resolved and limited conversation to collaborators Sep 10, 2018
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.

6 participants
0