Pulsatrix: fix 1p3p (#11588)
This commit is contained in:
parent
68da7ac98e
commit
0146f03388
2 changed files with 3 additions and 1 deletions
|
|
@ -269,7 +269,7 @@ func (c *Pulsatrix) TotalEnergy() (float64, error) {
|
|||
|
||||
// Phases1p3p implements the api.PhaseSwitcher interface
|
||||
func (c *Pulsatrix) Phases1p3p(phases int) error {
|
||||
return c.write("set1p3p\n" + strconv.Itoa(phases))
|
||||
return c.write("set1p3p\n" + strconv.FormatBool(phases == 1))
|
||||
}
|
||||
|
||||
var _ api.PhaseCurrents = (*Pulsatrix)(nil)
|
||||
|
|
|
|||
|
|
@ -1,6 +1,8 @@
|
|||
template: pulsatrix
|
||||
products:
|
||||
- brand: Pulsatrix
|
||||
requirements:
|
||||
evcc: ["sponsorship"]
|
||||
params:
|
||||
- name: host #IP address or hostname (can be found on 3rd page of SECC display)
|
||||
required: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue