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

Error when running homescript to toggle wemo switch #10

Open
github22222 opened this issue Nov 30, 2021 · 0 comments
Open

Error when running homescript to toggle wemo switch #10

github22222 opened this issue Nov 30, 2021 · 0 comments

Comments

@github22222
Copy link

D:\bin\HomeScript\HomeScript-master>py hs.py -s Food
Traceback (most recent call last):
File "D:\bin\HomeScript\HomeScript-master\hs.py", line 91, in
hs.setStates(sys.argv[argumentLength-1] or None)
File "D:\bin\HomeScript\HomeScript-master\homescript_init_.py", line 123, in setStates
elif item['value'][0]['value'] == 0 or item['value'][0]['value'] == False:
IndexError: list index out of range

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

No branches or pull requests

1 participant