Easee: fix enabled detection (#921)
This commit is contained in:
parent
362024b3b9
commit
c1269e2f06
1 changed files with 1 additions and 1 deletions
|
|
@ -168,7 +168,7 @@ func (c *Easee) Status() (api.ChargeStatus, error) {
|
|||
// Enabled implements the Charger.Enabled interface
|
||||
func (c *Easee) Enabled() (bool, error) {
|
||||
res, err := c.state()
|
||||
return res.DynamicChargerCurrent > 0, err
|
||||
return res.DynamicCircuitCurrentP1 > 0, err
|
||||
}
|
||||
|
||||
// Enable implements the Charger.Enable interface
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue