You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apparently, there are more modes than those listed in constants.py for airSwingLR, at least for my device. According to the app the Air swing (Left-Right) was center + 1 to the left.
Traceback (most recent call last): File "/usr/local/bin/pcomfortcloud", line 11, in <module> sys.exit(main()) File "/usr/local/lib/python2.7/dist-packages/pcomfortcloud/__main__.py", line 187, in main print_result( session.get_device(device['id']) ) File "/usr/local/lib/python2.7/dist-packages/pcomfortcloud/session.py", line 239, in get_device 'parameters': self._read_parameters(_json['parameters']) File "/usr/local/lib/python2.7/dist-packages/pcomfortcloud/session.py", line 374, in _read_parameters value['airSwingHorizontal'] = constants.AirSwingLR(parameters['airSwingLR']) File "/usr/lib/python2.7/dist-packages/enum/__init__.py", line 338, in __call__ return cls.__new__(cls, value) File "/usr/lib/python2.7/dist-packages/enum/__init__.py", line 651, in __new__ raise ValueError("%s is not a valid %s" % (value, cls.__name__)) ValueError: 5 is not a valid AirSwingLR
The text was updated successfully, but these errors were encountered:
Ok, we have to track down what differs from your model by using dump, but I can see it's hard to track down everything so I can try to make a diff tool or something.
Apparently, there are more modes than those listed in constants.py for airSwingLR, at least for my device. According to the app the Air swing (Left-Right) was center + 1 to the left.
Traceback (most recent call last): File "/usr/local/bin/pcomfortcloud", line 11, in <module> sys.exit(main()) File "/usr/local/lib/python2.7/dist-packages/pcomfortcloud/__main__.py", line 187, in main print_result( session.get_device(device['id']) ) File "/usr/local/lib/python2.7/dist-packages/pcomfortcloud/session.py", line 239, in get_device 'parameters': self._read_parameters(_json['parameters']) File "/usr/local/lib/python2.7/dist-packages/pcomfortcloud/session.py", line 374, in _read_parameters value['airSwingHorizontal'] = constants.AirSwingLR(parameters['airSwingLR']) File "/usr/lib/python2.7/dist-packages/enum/__init__.py", line 338, in __call__ return cls.__new__(cls, value) File "/usr/lib/python2.7/dist-packages/enum/__init__.py", line 651, in __new__ raise ValueError("%s is not a valid %s" % (value, cls.__name__)) ValueError: 5 is not a valid AirSwingLR
The text was updated successfully, but these errors were encountered: