-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[innogysmarthome] Fix Dimmer / Rollershutter / Gen 1 devices and Push…
…button (#6721) * [innogysmarthome] Fix "updateAvailable" for Gen 1 devices Closes #6613 Signed-off-by: Hilbrand Bouwkamp <[email protected]> * [innogysmarthome] Don't set state twice Both dimmer and rollershutter set first the state as ONOFF and then as PercentType. It should set only one time because the percentage is the value actual wanted. Closes #6610 Signed-off-by: Hilbrand Bouwkamp <[email protected]> * [innogysmarthome] Improved handling pushbutton Not all devices send same push button events. Some send 2 (StateChanged and ButtonPressed) others only 1 (StateChanged). When ButtonPressed is send the StateChanged doesn't contain lastPressedButtonIndex. So in that case we ignore the StateChanged event. The previous implementation assumed type was also always present, but that is not the case so it can't be used as an check. Closes #6624 Signed-off-by: Hilbrand Bouwkamp <[email protected]>
- Loading branch information
Showing
2 changed files
with
22 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters