johnlemonse / homebridge-telldus

36 stars 22 forks source link

Dimmer set to 100% after switched on #90

Open mlervaag opened 3 years ago

mlervaag commented 3 years ago

Hi,

If you use Homekit to set a specific dimmer setting to a light that is off(either manually or through a scene), it seems like the plugin sends the dimmer % first, then send an 'ON' command. This first sets the light to the correct percentage(and turns the light on), but then put the light to 100% with the 'ON' signal.

Is it possible to not send the ON-signal if Homekit sets a percentage, as this also turns the light on automatically?

lericson commented 2 years ago

Judging by https://github.com/johnlemonse/homebridge-telldus/blob/master/index.js#L353 it seems that it's actually HomeKit that sends dimmer percentage followed by an on command.