Commit Graph

229 Commits (3f62267a482fa800c5f556b2b8dbcb53a96ef591)

Author SHA1 Message Date
Arie Catsman 131edea576
Replace lambda by attrgetter in enphase_envoy platform value_fn (#115569) 2024-04-14 10:41:25 -05:00
Arie Catsman 6092894ce5
For new installs make enphase_envoy phase entities default disabled (#115577) 2024-04-14 10:41:00 -05:00
Sid 6587ee20db
Enable Ruff TRY300 (#114437)
* Enable Ruff TRY300

* Update validation.py

* Address review comments
2024-03-30 10:37:59 +01:00
Arie Catsman afcc4b58f4
Remove suggested_uom from frequency in Enphase (#114340)
remove suggested_uom from frequency
2024-03-27 22:49:34 +01:00
Arie Catsman b9fdd56f01
Bump pyenphase to 1.20.1 (#114218) 2024-03-25 22:42:19 -10:00
Arie Catsman 205c457a77
Add home battery storage entities for enphase_envoy (#114015) 2024-03-22 08:46:39 -10:00
Arie Catsman 5f5d40ed52
Bump pyenphase to 1.20.0 (#113963) 2024-03-21 13:56:31 -10:00
Sid d5fd005db8
Add ruff rule PIE808 (#113621) 2024-03-17 09:56:26 +01:00
Arie Catsman 44abe329a2
Enphase Envoy refactor and extend diagnostics (#109080)
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-09 11:03:07 -10:00
Arie Catsman c7eabd95e6
Bump pyenphase to 1.19.2 (#112747) 2024-03-08 15:28:03 -05:00
Paulus Schoutsen f416d67d21
Remove built-in support for import_executor in manifest (#112725) 2024-03-08 12:02:32 -05:00
Marc Mueller 0e3945ca6c
Add empty line after module docstring [d-f] (#112698) 2024-03-08 14:15:26 +01:00
Joost Lekkerkerker 39cad5f1ee
Remove entity description mixin in Enphase Envoy (#112486) 2024-03-05 23:42:07 -10:00
Erik Montnemery e06446d0fa
Migrate integrations e-h to generic flowhandler (#111862) 2024-02-29 20:07:36 +01:00
J. Nick Koston af4771a198
Import enphase_envoy in the executor to avoid blocking the event loop (#111805) 2024-02-28 22:25:55 -10:00
Arie Catsman d8d44069b5
Add Grid import export to Enphase Envoy (#110884)
* 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>
2024-02-27 16:43:43 -05:00
Arie Catsman 850add120a
Bump pyenphase to 1.19.1 (#111653) 2024-02-27 09:56:49 -10:00
Arie Catsman a4150fe8b2
Enable Enphase Envoy authentication credentials update (#110474) 2024-02-17 09:58:25 -06:00
Arie Catsman 2b33feb341
Add phase entities to Enphase Envoy (#108725)
* 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>
2024-01-28 22:46:47 +01:00
Arie Catsman 49667a26b2
Bump pyenphase to 1.19.0 (#108951) 2024-01-27 10:10:03 -10:00
J. Nick Koston def42c6da0
Use new config entry update/abort helper in enphase-envoy (part 2) (#108689)
Use new config entry update/abort helper in enphase_envoy

uses the new helper from https://github.com/home-assistant/core/pull/108034
2024-01-22 17:19:55 -05:00
J. Nick Koston d825c85351
Use new config entry update/abort helper in enphase_envoy (#108679)
Use new config entry update/abort helper in enphase_envoy

uses the new helper from https://github.com/home-assistant/core/pull/108034
2024-01-22 22:43:12 +01:00
Arie Catsman 45fec1d404
Bump pyenphase to 1.17.0 (#107950) 2024-01-13 16:53:48 +01:00
Arie Catsman e5eb58b456
Bump Pyenphase to 1.16.0 (#107719) 2024-01-10 14:34:25 +01:00
Arie Catsman e8acccce05
Catch missing inverter in Enphase Envoy (#106730)
* 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>
2024-01-08 22:28:04 +01:00
Marc Mueller be68feffdd
Enable strict typing for enphase_envoy (#107436) 2024-01-06 23:42:38 -10:00
J. Nick Koston ced4123d4c
Bump pyenphase to 1.15.2 (#106134) 2023-12-20 14:10:56 -10:00
Erik Montnemery 0c2485bc03
Freeze integration entity descriptions (#105984)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-18 16:28:13 -10:00
Charles Garwood 032d120a26
Include Envoy firmware version in Enphase diagnostics (#105742)
* Include Envoy firmware version in Enphase diagnostics

* Update tests
2023-12-14 13:59:39 -05:00
Arie Catsman c318445a76
Write Enphase Envoy data to log when in debug mode (#105456) 2023-12-13 09:22:10 +01:00
c0ffeeca7 3133585d52
Enphase to Evil: add host field description (#104779)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-11-30 17:25:04 +01:00
Arie Catsman 43c5bf27e6
Bump pyenphase to 1.14.3 (#104101)
fix(101354):update pyenphase to 1.14.3
2023-11-17 08:16:53 -05:00
Arie Catsman cd9ad32e32
Add catsmanac to enphase_envoy codeowners (#104086) 2023-11-16 14:56:36 -06:00
Charles Garwood b372a64057
Bump pyenphase to 1.14.2 (#103553) 2023-11-06 17:53:44 -06:00
Charles Garwood b12d99bd2b
Bump pyenphase to 1.14.1 (#103239) 2023-11-02 15:46:58 -04:00
J. Nick Koston 5cec687247
Bump pyenphase to 1.13.1 (#102431) 2023-10-20 15:27:54 -10:00
Charles Garwood 013e580c02
Add support for changing Enphase battery backup modes (#102392) 2023-10-20 14:05:42 -10:00
Charles Garwood e1972ba3c8
Add Enphase charge from grid switch (#102394)
* Add Enphase charge from grid switch

* review comments
2023-10-20 14:30:54 -04:00
J. Nick Koston 33f748493e
Update enphase_envoy zeroconf checks to use stdlib ipaddress methods (#100624) 2023-09-20 09:49:16 +02:00
Charles Garwood c3a7aee48e
Bump pyenphase to 1.11.4 (#100288) 2023-09-13 16:04:34 +02:00
Charles Garwood 270df003fe
Bump pyenphase to 1.11.3 (#100255) 2023-09-13 08:15:33 +02:00
Charles Garwood f344000ef9
Bump pyenphase to 1.11.2 (#100249)
* Bump pyenphase to 1.11.1

* Apply suggestions from code review

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-09-13 00:17:29 +02:00
Greig Sheridan f121e891fd
Remove duplicated word in enphase description text (#100098) 2023-09-11 09:16:21 +02:00
Joost Lekkerkerker 9a45e2cf91
Bump pyenphase to v1.11.0 (#99941) 2023-09-08 19:08:32 +02:00
J. Nick Koston f1ae523ff2
Bump pyenphase to 1.9.3 (#99787)
* 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
2023-09-07 12:17:04 +02:00
Joost Lekkerkerker 6194f7faea
Bump pyenphase to 1.9.1 (#99574) 2023-09-04 07:39:24 -04:00
J. Nick Koston b884dafa81
Retry enphase_envoy setup later if the wrong device is found (#98882) 2023-08-23 10:08:47 -05:00
Charles Garwood 65691fffd6
Change Enphase dry contact relay binary_sensor to switch (#98467)
* 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
2023-08-22 21:28:39 -04:00
Charles Garwood 91965a74d8
Enphase remove operating (#98682) 2023-08-19 12:30:12 -05:00
J. Nick Koston 857369625a
Remove some bound attributes from enphase_envoy sensor (#98479) 2023-08-15 13:29:22 -05:00