* Add Grid import export to enphase Envoy
* Update snapshot for labels dict element in entity registry
* use identity check for enum
* Revert use of identity check, didn't add entities
* Implement review feedback for tests
* ct phase sensors disabled by default
* import PHASENAMES from pyenphase
* Update tests/components/enphase_envoy/test_sensor.py
* Update tests/components/enphase_envoy/test_sensor.py
---------
Co-authored-by: J. Nick Koston <nick@koston.org>
* add phase entities to Enphase Envoy
* Implement review feedback for translation strings
* Enphase Envoy multiphase review changes
Move device name logic to separate function.
Refactor native value for phases
Use dataclasses.replace for phase entities, add on-phase to base class as well, no need for phase entity descriptions anymore
* Enphase Envoy reviewe feedback
Move model determination to library.
Revert states test for future split to sensor test.
* Enphase_Envoy use model description from pyenphase library
* Enphase_Envoy refactor Phase Sensors
* Enphase_Envoy use walrus in phase sensor
---------
Co-authored-by: J. Nick Koston <nick@koston.org>
* bug: prevent invalid key when empty invereter arrays is returned.
Some envoy fw versions return an empty inverter array
every 4 hours when no production is taking place.
Prevent collection failure due to this as other data
seems fine. Inveretrs will show unknown during this cycle.
* refactor: replace try/catch with test and make warning debug
* Update homeassistant/components/enphase_envoy/sensor.py
* Update homeassistant/components/enphase_envoy/sensor.py
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Bump pyenphase to 1.9.2
changelog: https://github.com/pyenphase/pyenphase/compare/v1.9.1...v1.9.2
Handle the case where the user has manually specified a password for
local auth with firmware < 7.x but its incorrect.
The integration previously accepted any wrong password and would
reduce functionality down to what works without a password. We now
preserve that behavior to avoid breaking existing installs.
* bump
* Switch relay status from binary_sensor to switch
* docstring
* Bump pyenphase to 1.7.1
* review comments pt1
* review comments pt2
* Mutate data in lib instead of HA
* Bump pyenphase to 1.8.1