ThrottledDevice: missing state notifiation
authorHelmut Grohne <helmut@subdivi.de>
Sun, 14 Jul 2013 06:42:34 +0000 (08:42 +0200)
committerHelmut Grohne <helmut@subdivi.de>
Sun, 14 Jul 2013 06:42:34 +0000 (08:42 +0200)
commitaefd1e9c24f531c4d51cd812fb907a42ee41e656
treecef5b7fc12aec4a62a52210171fac9ef4406d345
parent22d91b54393e5bc8eeac526990a6f6d3e4afb41b
ThrottledDevice: missing state notifiation

When a throttled device is transitioning to off and we activate it,
activation may be a noop on the actual device thus not emitting any
state change. From a users point of view we are transitioning to on now,
so the state has changed.
onoff/common.py