Allow sending IncreaseDecreaseType directly to DimmerItem (#3116)

Signed-off-by: Cody Cutrer <cody@cutrer.us>
pull/3118/head
Cody Cutrer 2022-10-17 00:05:02 -06:00 committed by GitHub
parent 3659542bae
commit ccdf2c5573
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -51,6 +51,10 @@ public class DimmerItem extends SwitchItem {
internalSend(command);
}
public void send(IncreaseDecreaseType command) {
internalSend(command);
}
@Override
public List<Class<? extends State>> getAcceptedDataTypes() {
return ACCEPTED_DATA_TYPES;