Default dimmable brightness to 255 from 100 (#4621)
* Default dimmable brightness to 255 from 100 Full brightness for ISY dimmers is 255. The current 100 value turns dimmer switches on to just under half brightness. Probably just an oversight from the Sept implementation. * Brightness change for turn_on, ramp for turn_off. Per discussion with Teagan42 and jbcodemonkey, the brightness should rightfully be None and not an explicit value. There is a continuing issue that the ISY modules don't respect HA's brightness customization values. A new issue will be opened for this. Additionally, turn_off was using ISY's fastoff() which didn't respect the ramping time. The default behavior should just be off().
This commit is contained in:
parent
66473120ab
commit
2d02baf3d0
1 changed files with 2 additions and 2 deletions
|
@ -61,10 +61,10 @@ class ISYLightDevice(isy.ISYDevice, Light):
|
|||
|
||||
def turn_off(self, **kwargs) -> None:
|
||||
"""Send the turn off command to the ISY994 light device."""
|
||||
if not self._node.fastoff():
|
||||
if not self._node.off():
|
||||
_LOGGER.debug('Unable to turn on light.')
|
||||
|
||||
def turn_on(self, brightness=100, **kwargs) -> None:
|
||||
def turn_on(self, brightness=None, **kwargs) -> None:
|
||||
"""Send the turn on command to the ISY994 light device."""
|
||||
if not self._node.on(val=brightness):
|
||||
_LOGGER.debug('Unable to turn on light.')
|
||||
|
|
Loading…
Add table
Reference in a new issue