Commit graph

22 commits

Author SHA1 Message Date
Franck Nijhof
ed79265843
Enable Ruff PT006 ()
* Enable Ruff PT006

* Adjust existing cases

* Fix tests

* Remove unneeded parentheses
2023-02-15 14:09:50 +01:00
epenet
1e352b60df
Add type hints to integration tests (part 11) () 2023-02-13 14:22:49 +01:00
epenet
37a2040d7b
Add type hints to integration tests (h-i) () 2023-02-08 18:12:56 +01:00
epenet
053c4428a9
Prettify json (component test fixtures) () 2022-03-30 11:37:17 +02:00
Joshua Roys
9134e5c844
Get discovered zeroconf IPv6 addresses () 2022-02-11 16:46:17 -06:00
epenet
31b033ac25
Update ZeroconfServiceInfo in tests (g-m) ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-23 09:42:38 -06:00
epenet
560546f65e
Use dataclass for DhcpServiceInfo ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-23 13:35:53 +01:00
epenet
d6c5aaa0cb
Use ServiceInfo in hunterdouglas_powerview ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-19 08:12:31 -06:00
Paulus Schoutsen
31153ac155
Move fixtures part 1 () 2021-11-01 20:47:05 -07: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
HighOnMikey
c1a1a38ffc
Improve legacy support for Hunter Douglas PowerView ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-05-23 12:47:19 -05:00
J. Nick Koston
29cd5f20b9
Add zeroconf discovery to powerview () 2021-05-09 11:41:27 +02:00
J. Nick Koston
779f34a8ed
Add dhcp discovery to hunterdouglas_powerview ()
* Add dhcp discovery to hunterdouglas_powerview

* avoid dupe flow

* cleanup

* cleanup
2021-05-03 11:41:20 +02:00
Ville Skyttä
153d6e891e
Use config_entries.SOURCE_* constants () 2021-04-25 11:27:40 +02:00
Franck Nijhof
7264c95217
Clean up superfluous integration setup - part 6 () 2021-04-16 09:23:27 -07:00
J. Nick Koston
d733292982
Remove YAML support from hunterdouglas_powerview () 2021-01-21 13:51:08 -05:00
Franck Nijhof
65cf2fcb6f
Drop asynctest () 2021-01-01 22:31:56 +01:00
Paulus Schoutsen
1c36bf5e19
Fix block till done in create entry config flow tests () 2020-10-24 16:20:56 +02:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 () 2020-08-27 13:56:20 +02:00
J. Nick Koston
87e0f04515
Fix exception in hunterdouglas_powerview with ignored config entry () 2020-05-10 22:06:31 -07:00
Paulus Schoutsen
ec47216388
Use built-in test helpers on 3.8 () 2020-04-30 13:29:50 -07:00
J. Nick Koston
6c18a2cae2
Config flow for hunterdouglas_powerview ()
Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io>
2020-04-29 14:24:57 -07:00