Commit Graph

211 Commits (96ee8ba9a8705b22d692d069a67c4b70aa3a8ade)

Author SHA1 Message Date
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
J. Nick Koston 80d608bb5b
Remove some bound attributes from enphase_envoy binary_sensor (#98477)
Some of these were never used
2023-08-15 14:16:05 -04:00
J. Nick Koston 73f882bf36
Small cleanups to enphase_envoy select platform (#98476) 2023-08-15 13:08:55 -05:00
Charles Garwood 92535277be
Add number platform & battery setpoint entities to Enphase integration (#98427)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-08-15 13:08:11 -05:00
J. Nick Koston 5a69f9ed04
Remove unused code in enphase_envoy (#98474) 2023-08-15 12:37:16 -05:00
Charles Garwood 346a7292d7
Update Enphase dry contact relay DeviceInfo and name (#98429)
Switch relay binary_sensor to relay device
2023-08-15 08:49:19 -04:00
Charles Garwood e3438baf49
Add select platform to Enphase integration (#98368)
* Add select platform to Enphase integration

* Review comments pt1

* Review comments pt2

* Review comments

* Additional tweaks from code review

* .coveragerc

---------

Co-authored-by: J. Nick Koston <nick@koston.org>
2023-08-14 20:23:16 -04:00
Charles Garwood 8912b19cf4
Add Enphase Encharge aggregate sensors (#98276)
* Add Encharge aggregate sensors

* Update dependency
2023-08-11 20:15:42 -04:00
Charles Garwood 4342a95be0
Add Enphase switch platform and grid enable switch (#98261)
* Add Enphase switch platform and grid enable switch

* Update dependency

* Fix docstrings

* Update .coveragerc
2023-08-11 13:31:47 -04:00
Erik Montnemery 045c327928
Move DeviceInfo from entity to device registry (#98149)
* Move DeviceInfo from entity to device registry

* Update integrations
2023-08-10 22:04:26 -04:00
Charles Garwood b653d7f683
Fix Enphase dry contact binary sensor state updates (#98225)
Fix dry contact binary sensor state updates
2023-08-11 00:00:54 +02:00
Franck Nijhof 868a5f377f
Ruff: isort don't split imports based on trailing comma (#98162) 2023-08-10 14:27:03 +02:00
J. Nick Koston 7e9d0cca44
Refactor enphase_envoy to have a shared base class (#98088)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-08-09 01:28:27 -10:00
J. Nick Koston 1b54b22a91
Bump pyenphase to 1.3.0 (#98090) 2023-08-08 21:11:57 -10:00
Charles Garwood ce6b759b70
Add Envoy enpower sensors (#98086) 2023-08-08 17:05:52 -10:00
J. Nick Koston 331bdcc596
Bump pyenphase to 1.1.3 (#98074)
changelog: https://github.com/pyenphase/pyenphase/compare/v1.1.1...v1.1.3
2023-08-08 18:51:17 -04:00
Charles Garwood 25467b573e
Bump pyenphase to 1.1.1 (#98065) 2023-08-08 11:27:59 -10:00
Charles Garwood c154077177
Add Encharge binary sensors to Enphase integration (#98039)
* Add Encharge binary sensors to Enphase integration

* Code review minor cleanup

* Add to coveragerc
2023-08-08 20:03:02 +02:00
J. Nick Koston 2a80a63ac2
Cleanup enphase_envoy sensor inheritance (#98012) 2023-08-08 10:10:36 +02:00