EV-03 round 3: the power entity is required and reads in W or kW
A charger with no usable power entity is refused as "not set up", like a missing setpoint, read-back or state entity, so House and the house profile behave as with no charger. An entity that is merely unavailable at probe time is still the unreachable path. NL: help text "met rust", chip "Laadpaalstoring". Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -157,7 +157,13 @@ class InputsMixin:
|
||||
whose limit is above the station limit, is REFUSED: the add-on starts
|
||||
and the Car card says so. Said once."""
|
||||
why = None
|
||||
if not pr.ok:
|
||||
if not pr.ok and pr.power_unit is not None \
|
||||
and not pr.required_missing:
|
||||
why = "unit"
|
||||
_LOG.warning("The car charger is not set up, because its power "
|
||||
"does not read in W or kW: CHARGER_POWER_UNIT.")
|
||||
_LOG.debug("The charger power entity reads in %r.", pr.power_unit)
|
||||
elif not pr.ok:
|
||||
why = "not_found"
|
||||
_LOG.warning("The car charger is not set up, because Home "
|
||||
"Assistant has no entity it needs: CHARGER_NOT_FOUND.")
|
||||
|
||||
Reference in New Issue
Block a user