Skip to content

Commit

Permalink
fix(ignore): fix 888918c
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed Aug 31, 2023
1 parent 42b694a commit b18397a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/devices/tuya.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5961,8 +5961,8 @@ const definitions: Definition[] = [
[104, 'energy_flow_b', tuya.valueConverterBasic.lookup({'consuming': 0, 'producing': 1})],
[106, 'energy_a', tuya.valueConverter.divideBy100],
[108, 'energy_b', tuya.valueConverter.divideBy100],
[107, 'energy_produced_A', tuya.valueConverter.divideBy100],
[109, 'energy_produced_B', tuya.valueConverter.divideBy100],
[107, 'energy_produced_a', tuya.valueConverter.divideBy100],
[109, 'energy_produced_b', tuya.valueConverter.divideBy100],
[129, 'update_frequency', tuya.valueConverter.raw],
],
},
Expand Down
2 changes: 1 addition & 1 deletion src/lib/tuya.ts
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ const tuyaExposes = {
gasValue: () => e.numeric('gas_value', ea.STATE).withDescription('Measured gas concentration'),
energyWithPhase: (phase: string) => e.numeric(`energy_${phase}`, ea.STATE).withUnit('kWh')
.withDescription(`Sum of consumed energy (phase ${phase.toUpperCase()})`),
energyProducedWithPhase: (phase: string) => e.numeric(`energy_${phase}`, ea.STATE).withUnit('kWh')
energyProducedWithPhase: (phase: string) => e.numeric(`energy_produced_${phase}`, ea.STATE).withUnit('kWh')
.withDescription(`Sum of produced energy (phase ${phase.toUpperCase()})`),
energyFlowWithPhase: (phase: string) => e.enum(`energy_flow_${phase}`, ea.STATE, ['consuming', 'producing'])
.withDescription(`Direction of energy (phase ${phase.toUpperCase()})`),
Expand Down

0 comments on commit b18397a

Please sign in to comment.