fixed route names
This commit is contained in:
parent
1fe0d674a2
commit
600529af41
6 changed files with 6 additions and 6 deletions
|
@ -13,7 +13,7 @@ public class ButtonDimmer extends Dimmer {
|
||||||
private static final int DIM_INCREMENT = 10;
|
private static final int DIM_INCREMENT = 10;
|
||||||
|
|
||||||
public ButtonDimmer() {
|
public ButtonDimmer() {
|
||||||
super("button-dimmer");
|
super("buttonDimmer");
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Increases the current intensity level of the dimmable light by DIM_INCREMENT */
|
/** Increases the current intensity level of the dimmable light by DIM_INCREMENT */
|
||||||
|
|
|
@ -21,7 +21,7 @@ public class DimmableLight extends Switchable {
|
||||||
Connector.basic(KnobDimmer::getOutputs, DimmableLight::setDimmerId);
|
Connector.basic(KnobDimmer::getOutputs, DimmableLight::setDimmerId);
|
||||||
|
|
||||||
public DimmableLight() {
|
public DimmableLight() {
|
||||||
super("light");
|
super("dimmableLight");
|
||||||
}
|
}
|
||||||
|
|
||||||
@ManyToOne
|
@ManyToOne
|
||||||
|
|
|
@ -10,7 +10,7 @@ import javax.persistence.Entity;
|
||||||
public class KnobDimmer extends Dimmer {
|
public class KnobDimmer extends Dimmer {
|
||||||
|
|
||||||
public KnobDimmer() {
|
public KnobDimmer() {
|
||||||
super("knob-dimmer");
|
super("knobDimmer");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -19,6 +19,6 @@ public class MotionSensor extends InputDevice {
|
||||||
}
|
}
|
||||||
|
|
||||||
public MotionSensor() {
|
public MotionSensor() {
|
||||||
super("motion-sensor");
|
super("motionSensor");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,7 +14,7 @@ public class RegularLight extends Switchable {
|
||||||
boolean on;
|
boolean on;
|
||||||
|
|
||||||
public RegularLight() {
|
public RegularLight() {
|
||||||
super("regular-light");
|
super("regularLight");
|
||||||
this.on = false;
|
this.on = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -42,6 +42,6 @@ public class SmartPlug extends Switchable {
|
||||||
}
|
}
|
||||||
|
|
||||||
public SmartPlug() {
|
public SmartPlug() {
|
||||||
super("smart-plug");
|
super("smartPlug");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue