nguyer / homeassistant-bond-home

38 stars 15 forks source link

Hotfix/literals to constants #6

Closed bcb2000 closed 4 years ago

bcb2000 commented 4 years ago

A bit of a code tidy up. I'd created getDeviceType, which is unnecessary. Also, I'd introduced some constants for Bond Strings (e.g. SetSpeed, TurnOn) but these were not used consistently, so updated all instances to use the constants.

nguyer commented 4 years ago

These are great improvements! Can you please PR the changes in bond.py against https://github.com/nguyer/homeassistant-bond-home ? Thanks!

nguyer commented 4 years ago

Closed, due to https://github.com/nguyer/homeassistant-bond-home/pull/11 superseding this PR