Allow sending QuantityType to NumberItem (#3115)
NumberItems always accept QuantityType Signed-off-by: Cody Cutrer <cody@cutrer.us>pull/3116/head
parent
07be655b0e
commit
7f38d419c6
|
@ -80,6 +80,10 @@ public class NumberItem extends GenericItem {
|
|||
internalSend(command);
|
||||
}
|
||||
|
||||
public void send(QuantityType command) {
|
||||
internalSend(command);
|
||||
}
|
||||
|
||||
@Override
|
||||
public @Nullable StateDescription getStateDescription(@Nullable Locale locale) {
|
||||
StateDescription stateDescription = super.getStateDescription(locale);
|
||||
|
|
Loading…
Reference in New Issue