Commit Graph

16 Commits (0bba0f07acbb6901d37e3db4d026bb6c5006a446)

Author SHA1 Message Date
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
Franck Nijhof 1c2ebdf307
Upgrade black to 20.8b1 (#39287) 2020-08-27 13:56:20 +02:00
Markus Bong e94228fddf
Use show_advanced_options in devolo home control (#35360) 2020-06-02 17:52:36 -07:00
Markus Bong 5e33842ce0
Add devolo home control (#33181) 2020-05-07 16:08:51 +02:00