maximvelichko / pyvera

A python library to control devices via the Vera hub
GNU General Public License v2.0
26 stars 30 forks source link

Leave brightness unchanged when switching on and off a dimmer. #140

Closed pavoni closed 3 years ago

pavoni commented 3 years ago

There has been a long standing PR to leave the brightness unchanged when turning on a dimmer. https://github.com/pavoni/pyvera/pull/105

This adds the changes suggested.

This will fix https://github.com/home-assistant/core/issues/39930

Fixes https://github.com/pavoni/pyvera/issues/104

pavoni commented 3 years ago

@vangorra Can you take a look when you have a few minutes.

Not quite sure what's wrong wit the Python 3.6 build - but not convinced it really matters now. Have added 3.8.