Skip to content

Commit

Permalink
fix(light_controller): Change default value for add_transition_turn_t…
Browse files Browse the repository at this point in the history
…oggle from True to False

BREAKING CHANGE: There is less people using transition attribute for on/off calls than people having problems with this and having to explicitly add the add_transition_turn_toggle: false to all ControllerX configurations. I first thought that this will get fix for the third parties soon, but seeing that this still happens for Hue and deCONZ, I considered this.
  • Loading branch information
xaviml committed Jun 27, 2020
1 parent 41576b2 commit e835b90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/controllerx/core/type/light_controller.py
Expand Up @@ -119,7 +119,7 @@ async def initialize(self) -> None:
)
self.add_transition = self.args.get("add_transition", True)
self.add_transition_turn_toggle = self.args.get(
"add_transition_turn_toggle", True
"add_transition_turn_toggle", False
)

self.supported_features = LightSupport(self.light["name"], self)
Expand Down

0 comments on commit e835b90

Please sign in to comment.