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

Update index.js #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update index.js #5

wants to merge 1 commit into from

Conversation

uronito
Copy link
Contributor

@uronito uronito commented Feb 5, 2016

With this modification if tv is unplugged or httrequest fails then homebridge plugin return state switch to off

Now seem run perfect!!!!!!

Thanks!!!!!!

With this modification if tv is unplugged or httrequest fails then homebridge plugin return state switch to off

Now seem run perfect!!!!!!

Thanks!!!!!!
@gw-wiscon
Copy link
Owner

Hi Uronito,
I checken, and I believe a better solution is to return an error.
In that way, homebridge will think that the power on request failed.
Which is actually true.

Can you verify if it works?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants