Skip to content

Commit b6cc153

Browse files
authored
fix: BITUO TECHNIK: add clear energy function (#11223)
1 parent efca6a3 commit b6cc153

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/devices/bituo_technik.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ export const definitions: DefinitionWithExtend[] = [
6262
await reporting.bind(endpoint, coordinatorEndpoint, ["haElectricalMeasurement", "seMetering"]);
6363
},
6464
extend: [
65+
m.onOff({powerOnBehavior: false, description: "Toggle to 'On' to Zero the energy"}),
6566
m.electricityMeter({
6667
fzElectricalMeasurement: bituo_fz.electrical_measurement,
6768
producedEnergy: true,
@@ -152,6 +153,7 @@ export const definitions: DefinitionWithExtend[] = [
152153
await reporting.bind(endpoint, coordinatorEndpoint, ["haElectricalMeasurement", "seMetering"]);
153154
},
154155
extend: [
156+
m.onOff({powerOnBehavior: false, description: "Toggle to 'On' to Zero the energy"}),
155157
m.electricityMeter({
156158
fzElectricalMeasurement: bituo_fz.electrical_measurement,
157159
acFrequency: true,
@@ -188,6 +190,7 @@ export const definitions: DefinitionWithExtend[] = [
188190
await reporting.bind(endpoint, coordinatorEndpoint, ["haElectricalMeasurement", "seMetering"]);
189191
},
190192
extend: [
193+
m.onOff({powerOnBehavior: false, description: "Toggle to 'On' to Zero the energy"}),
191194
m.electricityMeter({
192195
fzElectricalMeasurement: bituo_fz.electrical_measurement,
193196
threePhase: true,

0 commit comments

Comments
 (0)