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

Plugin traceback when writing to thermostat API under python 2.6 #11

Open
allengray opened this issue Nov 29, 2017 · 2 comments
Open

Plugin traceback when writing to thermostat API under python 2.6 #11

allengray opened this issue Nov 29, 2017 · 2 comments

Comments

@allengray
Copy link

Getting this immediate traceback when loading the plugin under python2.6:

Traceback (most recent call last):
File "plugin.py", line 286, in actionControlThermostat
File "plugin.py", line 340, in _handleChangeSetpointAction
ValueError: zero length field name in format

@allengray
Copy link
Author

I've committed a fix, @jdhorne - Let me know whether I should instead make this in a branch and submit a pull request.

allengray added a commit to allengray/indigo-ecobee-plugin that referenced this issue Nov 29, 2017
Combining my two submissions into one since changes were made to the same line.
@allengray
Copy link
Author

I'm going to edit the name of this from 'loading' -> 'writing to thermostat API'.

This error only occurs when using python 2.6 or earlier (and possibly early python 3.x).

@allengray allengray changed the title Plugin traceback when loading Plugin traceback when writing to thermostat API Nov 30, 2017
@allengray allengray changed the title Plugin traceback when writing to thermostat API Plugin traceback when writing to thermostat API under python 2.6 Nov 30, 2017
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