Commit graph

15 commits

Author SHA1 Message Date
Aaron Bach
78e66b6cbe
Add diagnostics to Enphase Envoy ()
* Streamline Enphase Envoy config flow tests

* Don't test data results using constants

* Add diagnostics to Enphase Envoy

* Use whole config entry

* Redact serial number

* One call
2022-10-18 10:25:07 -06:00
Aaron Bach
414d478d3e
Ensure Enphase Envoy test fixtures aren't session-scoped ()
* Ensure Enphase Envoy test fixtures aren't session-scoped

* Code review
2022-10-18 10:24:49 -06:00
Aaron Bach
72f4665d33
Streamline Enphase Envoy config flow tests ()
* Streamline Enphase Envoy config flow tests

* Don't test data results using constants

* Fix data issues

* Fixtures

* Simplify mock creation

* Docstrings
2022-10-17 20:29:10 +03:00
J. Nick Koston
fed447a3f4
Filter IPv6 addreses from enphase_envoy discovery () 2022-03-19 13:40:00 -07:00
Joshua Roys
9134e5c844
Get discovered zeroconf IPv6 addresses () 2022-02-11 16:46:17 -06:00
Robert Hillis
cc3a4fef53
Remove deprecated yaml config from enphase envoy () 2021-12-15 13:55:31 +01:00
J. Nick Koston
2f0695e408
Fix missing unique id in enphase_envoy () 2021-12-05 23:53:53 -08:00
epenet
1d3fbc93a0
Update ZeroconfServiceInfo in tests (a-f) ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-23 09:32:58 -06:00
epenet
ab1e14204f
Rename zeroconf service info ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-10 15:26:47 +01:00
epenet
8cc2f3b7a4
Use zeroconf attributes in enphase-envoy () 2021-11-05 00:34:10 -05:00
Paulus Schoutsen
a4d9019ffc
Refactor persistent notification to no longer route all data via a service ()
* Convert persistent notification tests to async

* Create/dismiss persistent notifications in exposed functions, not service calls

* Fix notify persistent_notification

* Remove setting up persistent_notification

* Drop more setups

* Empty methods

* Undeprecate sync methods because too big task

* Fix setup clearing notifications

* Fix a bunch of tests

* Fix more tests

* Uno mas

* Test persistent notification events

* Clean up stale comment

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-10-07 12:58:00 +02:00
J. Nick Koston
dcb5b9f8b5
Bump httpx to 0.18.0 and respx to 0.17.0 () 2021-04-28 11:22:09 +02:00
Ville Skyttä
153d6e891e
Use config_entries.SOURCE_* constants () 2021-04-25 11:27:40 +02:00
J. Nick Koston
2887eeb32f
Only enable envoy inverters when the user has access () 2021-04-15 11:17:32 +02:00
J. Nick Koston
94fde73add
Add config flow for enphase envoy ()
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-04-04 22:11:06 -10:00