[amazonechocontrol] fix thermostat handler (#9812)
* fix thermostat handler * fix spotless Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
This commit is contained in:
parent
43b5e79d78
commit
7e5e0e2295
@ -41,6 +41,8 @@ public class Constants {
|
||||
// channel types
|
||||
public static final ChannelTypeUID CHANNEL_TYPE_TEMPERATURE = new ChannelTypeUID(
|
||||
AmazonEchoControlBindingConstants.BINDING_ID, "temperature");
|
||||
public static final ChannelTypeUID CHANNEL_TYPE_TARGETSETPOINT = new ChannelTypeUID(
|
||||
AmazonEchoControlBindingConstants.BINDING_ID, "targetSetpoint");
|
||||
|
||||
// List of Item types
|
||||
public static final String ITEM_TYPE_SWITCH = "Switch";
|
||||
|
||||
@ -46,7 +46,7 @@ public class HandlerThermostatController extends HandlerBase {
|
||||
public static final String INTERFACE = "Alexa.ThermostatController";
|
||||
// Channel definitions
|
||||
private static final ChannelInfo TARGET_SETPOINT = new ChannelInfo("targetSetpoint" /* propertyName */ ,
|
||||
"targetSetpoint" /* ChannelId */, CHANNEL_TYPE_TEMPERATURE /* Channel Type */ ,
|
||||
"targetSetpoint" /* ChannelId */, CHANNEL_TYPE_TARGETSETPOINT /* Channel Type */ ,
|
||||
ITEM_TYPE_NUMBER_TEMPERATURE /* Item Type */);
|
||||
|
||||
public HandlerThermostatController(SmartHomeDeviceHandler smartHomeDeviceHandler) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user