Tasmota: fix swapped measurands (#18883)
This commit is contained in:
parent
b987ee142b
commit
90bd805a6b
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ func NewTasmota(uri, user, password, usage string, channels []int, cache time.Du
|
|||
voltages = c.voltages
|
||||
}
|
||||
|
||||
return decorateTasmota(c, currents, voltages), nil
|
||||
return decorateTasmota(c, voltages, currents), nil
|
||||
}
|
||||
|
||||
var _ api.Meter = (*Tasmota)(nil)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue