Erik Montnemery
6908497c3d
Add minor version to config entries ( #105479 )
2023-12-12 08:44:35 +01:00
Jan-Philipp Benecke
81450f0117
Update d-e* tests to use entity & device registry fixtures ( #103804 )
2023-11-12 10:38:32 +01:00
J. Nick Koston
433c022687
Save previous unique id in entity registry when it changes ( #102093 )
2023-10-16 21:26:19 -10:00
J. Nick Koston
0eca433004
Update zeroconf discovery to use IPAddress objects to avoid conversions ( #100567 )
2023-09-19 18:58:46 +02:00
Guido Schmitz
91da7516d0
Use snapshots in devolo_home_control tests ( #93202 )
2023-05-22 18:16:57 +02:00
Guido Schmitz
2b3f7ad70d
Add diagnostics to devolo Home Control ( #86069 )
...
* Add diagnostics to devolo Home Control
* Apply feedback
2023-05-05 21:24:42 +02:00
epenet
6836e15d98
Add type hints to tests ( #92477 )
2023-05-04 11:25:35 +02:00
Guido Schmitz
a26d95ec02
Add switch tests for devolo_home_control ( #80154 )
2023-03-28 16:45:06 +02:00
epenet
ff8b91aeea
Add freezer to known test fixtures in pylint ( #89825 )
...
Add freezer to known fixtures in pylint
2023-03-16 22:39:41 -04:00
epenet
71dc98a39c
Improve hass_ws_client type hint in tests ( #89703 )
2023-03-14 16:31:40 +01:00
epenet
853bd52a22
Adjust entity registry access in tests (1) ( #88950 )
2023-03-01 09:11:14 +01:00
epenet
728f62b1ec
Add type hints to integration tests (part 5) ( #87850 )
2023-02-12 19:39:48 +01:00
Erik Montnemery
cc564026fa
Move EntityCategory to homeassistant.const ( #87792 )
...
* Move EntityCategory to homeassistant.const
* Fix more imports
2023-02-09 20:15:37 +01:00
Franck Nijhof
c3e733c0aa
Replace global test markers with fixtures in Devolo home control tests ( #87676 )
2023-02-08 10:51:25 +01:00
Guido Schmitz
4f63eab453
Fix sensor tests in devolo Home Control ( #83586 )
...
Fix sensor tests
2022-12-08 22:52:20 +02:00
Guido Schmitz
500b00bd66
Add sensor tests for devolo_home_control ( #74292 )
2022-12-08 20:40:45 +02:00
Guido Schmitz
1e64d830ac
Migrate devolo Home Control to new entity naming ( #74969 )
2022-11-22 09:54:05 +01:00
epenet
0d696b84b2
Cleanup root component imports in tests ( #78893 )
2022-09-21 06:57:41 -10:00
Guido Schmitz
1b37d9cbc6
Use FlowResultType in Devolo Home Control tests ( #74490 )
...
* Use FlowResultType in devolo Home Control tests
* Add return types
2022-07-06 09:52:41 +02:00
Guido Schmitz
43595f7e17
Add light tests for devolo_home_control ( #74183 )
2022-06-30 21:08:21 -07:00
Guido Schmitz
8dd5f25da9
Add cover tests for devolo_home_control ( #72428 )
2022-06-29 06:46:32 -07:00
Guido Schmitz
5dfeb1e02a
Allow removing devices in devolo_home_control ( #72190 )
...
Allow removing devices
2022-05-25 08:39:05 +02:00
Guido Schmitz
5b4fdb081e
Add climate tests for devolo_home_control ( #72230 )
2022-05-23 17:24:28 +02:00
Joshua Roys
9134e5c844
Get discovered zeroconf IPv6 addresses ( #65462 )
2022-02-11 16:46:17 -06:00
Guido Schmitz
144371d843
Add siren platform to devolo Home Control ( #53400 )
...
* Rework mocking
* Add siren platform
* Rebase with dev
* React on change of default tone
* Fix linting error
2022-01-20 08:10:06 -05:00
Dave T
61f2f9d9ac
Use DeviceClass Enums in devolo_home_control tests ( #62116 )
2021-12-16 23:27:44 +01:00
epenet
1d3fbc93a0
Update ZeroconfServiceInfo in tests (a-f) ( #60212 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-23 09:32:58 -06:00
J. Nick Koston
347c4ea137
Bump zeroconf to 0.37.0 ( #59932 )
2021-11-18 20:23:20 -08:00
epenet
ab1e14204f
Rename zeroconf service info ( #59467 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-10 15:26:47 +01:00
Guido Schmitz
442d65e8da
Use entity category in devolo Home Control ( #59104 )
...
* Use entity category
* Add tests
2021-11-05 13:11:48 +01:00
epenet
2b22d635d9
Use zeroconf HaServiceInfo in tests (A-D) ( #58836 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-02 12:27:31 -05:00
Guido Schmitz
9f30cd7826
Add configuration_url to devolo Home Control ( #58594 )
2021-10-28 21:33:06 +02:00
Paulus Schoutsen
a4d9019ffc
Refactor persistent notification to no longer route all data via a service ( #57157 )
...
* 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
Erik Montnemery
7dbd0e5274
Fix zeroconf mock and use it in CI group 1's tests ( #55526 )
...
* Fix zeroconf mock and use it in CI group 1's tests
* Mock HaAsyncServiceBrowser
2021-09-01 22:38:00 +02:00
Guido Schmitz
268c7ef768
Rewrite mocking in devolo Home Control tests ( #53011 )
...
* Rework mocking
* Instantiate properties
2021-07-16 11:40:08 +02:00
Guido Schmitz
3027b848c1
Add reauth config flow to devolo Home Control ( #49697 )
2021-06-28 15:01:31 +02:00
Guido Schmitz
3de29a7606
Add binary_sensor tests for devolo Home Control ( #49843 )
...
Co-authored-by: Markus Bong <Markus.Bong@devolo.de>
2021-06-02 13:59:35 +02:00
Ville Skyttä
19d25cd901
Change config entry state to an enum ( #49654 )
...
* Change config entry state to an enum
* Allow but deprecate EntryState str equality comparison
* Test fixes
* Rename to ConfigEntryState
* Remove str comparability backcompat
* Update new occurrences of strs cropped up during review
2021-05-20 19:19:20 +02:00
Ville Skyttä
153d6e891e
Use config_entries.SOURCE_* constants ( #49631 )
2021-04-25 11:27:40 +02:00
Guido Schmitz
c6edc7ae4f
Clean up devolo Home Control config flow ( #49585 )
2021-04-23 13:48:24 +02:00
Guido Schmitz
77372d9094
Add zeroconf detection to devolo Home Control ( #47934 )
...
Co-authored-by: Markus Bong <2Fake1987@gmail.com>
2021-04-22 08:38:56 -10:00
Guido Schmitz
2fbe352ad5
Make devolo home control more robust against connection losts ( #48328 )
2021-03-29 19:08:08 -10:00
Franck Nijhof
8393a215e9
Clean up superfluous integration setup - part 1 ( #48476 )
2021-03-29 13:22:33 -10:00
Guido Schmitz
8b3156ea82
Use new fixtures in devolo Home Control tests ( #45669 )
2021-01-29 03:14:39 +01:00
Guido Schmitz
8065ece0bd
Add first set of tests to devolo Home Control integration ( #42527 )
...
* Add first two testcases
* Remove repetition
* Add first two testcases
* Remove repetition
* Add connection error test case
* add test_setup_entry_credentials_valid
* First attempt to use fixtures
* Use markers
* Optimize patch
* Optimize marker use
* Always patch mydevolo
* Add first two testcases
* Remove repetition
* Add first two testcases
* Remove repetition
* Add connection error test case
* add test_setup_entry_credentials_valid
* First attempt to use fixtures
* Use markers
* Optimize patch
* Optimize marker use
* Always patch mydevolo
* Add unload entry test case
* Catch up with reality
* Use unittest patch
* Use core interface to start tests
* Use entry state
* Consistently assert entry state
* Patch class instead of init
Co-authored-by: Markus Bong <2Fake1987@gmail.com>
2021-01-28 17:14:33 +01:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
Guido Schmitz
6f2327c6d5
Change config flow unique_id for devolo Home Control ( #43005 )
2020-12-03 09:10:20 +01:00
Guido Schmitz
804579cd54
Update devolo-home-control-api to 0.16.0 ( #42944 )
2020-11-09 12:17:35 +01:00
Paulus Schoutsen
1c36bf5e19
Fix block till done in create entry config flow tests ( #42290 )
2020-10-24 16:20:56 +02:00
Guido Schmitz
daf3a29ae5
Use references in config flow of devolo_home_control ( #40949 )
2020-10-03 21:33:33 +02:00