mdz / python-smarttub

Python API for SmartTub enabled hot tubs
MIT License
6 stars 9 forks source link

Add HIGH_SPEED_WHEEL to color options #26

Closed swbradshaw closed 2 years ago

swbradshaw commented 2 years ago

When using my Sundance Chelsee hot tub on the multi-color option, I get an error in the HA logs KeyError: 'HIGH_SPEED_WHEEL'

Running this command python -m smarttub -u yyyy -p xxxx -vv info --lights show the following results (followed by the same KeyError.

DEBUG:smarttub.api:GET spas/#########/lights successful: {'lights': [{'zone': 1, 'mode': 'HIGH_SPEED_WHEEL', 'cycleSpeed': 2, 'color': {'red': 255, 'blue': 0, 'green': 0, 'white': 0}, 'intensity': 50, 'lastUpdated': '2022-03-16T03:23:29.121Z', 'createdBy': 'SYSTEM'}]}

swbradshaw commented 2 years ago

Thanks for merging @mdz . What is the process to get HA fixed? Publish a new version here, and then do a PR on HA repo to point to the new version?

mdz commented 2 years ago

Thanks for merging @mdz . What is the process to get HA fixed? Publish a new version here, and then do a PR on HA repo to point to the new version?

That's right.

swbradshaw commented 2 years ago

@mdz Thanks. I created the PR there. https://github.com/home-assistant/core/pull/68356