forked from openhab/openhab-addons
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[rotel] Add support of multiple zones (ASCII protocol) (openhab#13136)
* [rotel] Add support of multiple zones (ASCII protocol) Models C8 and C8+ (distribution amplifiers) Code factorization. Simulator updated. * Set model/firmware thing properties (ASCII V2 protocol) * Review comment: NumberOf rather than Nb * Review comment: getZoneCommand: IllegalArgumentException if numZone is outside 1-4 * Review comment: constant for volumeUpDown * Simplification: method isPowerOn with numZone parameter (range 0-4) * Review comment: fix for getPowerOffCommand * Review comment: new method isZoneAvailable to factorize code * Review comment: use MAX_NUMBER_OF_ZONES to check range validity Signed-off-by: Laurent Garnier <[email protected]>
- Loading branch information
Showing
12 changed files
with
1,888 additions
and
1,287 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
Oops, something went wrong.