Skip to content

Commit d362903

Browse files
committed
fixed template for energy and power metering level controllable output
1 parent fe79976 commit d362903

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

it.polito.elite.dog.drivers.zwave.gateway/deviceTemplates/EnergyAndPowerMeteringLevelControllableOutput.vm

+4-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
</dhc:command>
3333
<dhc:command id="StepUpCommand_$name"
3434
name="OnCommand_$name" class="StepUpCommand">
35-
<dhc:param value="stepDown" name="realCommandName" />
35+
<dhc:param value="stepUp" name="realCommandName" />
3636
</dhc:command>
3737
<dhc:command id="StepDownCommand_$name"
3838
name="OnCommand_$name" class="StepDownCommand">
@@ -101,7 +101,9 @@
101101
</dhc:statevalues>
102102
</dhc:state>
103103
<dhc:state class="LevelState">
104-
<dhc:statevalue name="level" class="LevelStateValue" />
104+
<dhc:statevalues>
105+
<dhc:statevalue name="level" class="LevelStateValue" />
106+
</dhc:statevalues>
105107
</dhc:state>
106108
<dhc:state class="SinglePhaseEnergyMeasurementState">
107109
<dhc:statevalues>

0 commit comments

Comments
 (0)