nguyer / homeassistant-bond-home

38 stars 15 forks source link

Enable fan speed changes from the dashboard #20

Closed MizterB closed 4 years ago

MizterB commented 4 years ago

Changing fan speeds from the dashboard calls the "turn_on" service with a "speed" parameter - it does not call the "set_speed" service directly. This PR modifies "turn_on" to handle the optional speed parameter.

MizterB commented 4 years ago

By the way, apologies for the formatting changes. I'm not forcing my personal preferences here - these were automatically applied by HA's VSCode devcontainer, so I'm assuming things brings the code into greater alignment with HA's standards.

niemyjski commented 4 years ago

Thanks for the pr