Commit Graph

29 Commits (5adb7f4542ad116672e16580348fb9b14ea211b6)

Author SHA1 Message Date
epenet edad766fd3
Use start_reauth helper method in integration tests (u-z) () 2024-08-28 16:51:16 +02:00
Marc Mueller f11b316dac
Import Generator from collections.abc (4) () 2024-07-01 11:54:42 +02:00
Marc Mueller 274cd41d57
Fix Generator annotations in tests (1) () 2024-06-07 08:43:32 +02:00
Marc Mueller 59e178df3b
Import Generator from typing_extensions (5) () 2024-06-06 17:33:27 +02:00
Joost Lekkerkerker 2ef0521d3d
Use is in enum comparison in config flow tests U-Z ()
* Use right enum expression U-Z

* Fix
2024-04-02 23:09:56 +02:00
Marc Mueller 87165c0d6e
Add empty line after module docstring [tests t-z] () 2024-03-08 14:44:56 +01:00
J. Nick Koston 2a04eabe18
Fix formatting of mac addresses from dhcp discovery mocking in verisure ()
dhcp returns addresses in lowercase without :
2024-02-14 17:21:04 -05:00
G Johansson a093c383c3
Remove Verisure default lock code () 2023-08-14 13:43:08 +02:00
Olen 4959fce1e0
Fix setting number of digits for verisure lock PIN ()
* Fix error when setting number of digits

* Update test_config_flow.py

Add test for empty code
2023-06-28 19:18:45 +02:00
Niels Perfors 1baadc1d09
Update Verisure package to 2.6.1 ()
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: RobinBolder <33325401+RobinBolder@users.noreply.github.com>
Co-authored-by: Tobias Lindaaker <tobias@thobe.org>
2023-03-26 19:32:25 +02:00
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
Franck Nijhof bcf32f8331
Mark required fields in FlowResult typedict ()
* Mark required fields in FlowResult typedict

* Remove unneeded asserts from tests
2022-12-30 12:01:45 +01:00
Franck Nijhof 3f3ed3a2c5
Add multi-factor authentication support to Verisure ()
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-07-15 10:52:40 +02:00
Franck Nijhof 3bccac9949
Verisure config flow cleanups () 2022-07-14 11:37:59 +02:00
Franck Nijhof a6244eea28
Search/replace RESULT_TYPE_* by FlowResultType enum () 2022-07-07 21:28:18 +02: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 bac3c1fd75
Use DhcpServiceInfo in verisure tests ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-22 11:47:32 +01:00
Franck Nijhof 26b5a067bd
Remove YAML configuration from Verisure () 2021-05-05 09:51:05 +02:00
J. Nick Koston 4cd7f9bd8b
Raise ConfigEntryAuthFailed during setup or coordinator update to start reauth () 2021-04-09 19:41:29 -10:00
Franck Nijhof 354c0a7fd1
Add reauthentication to Verisure ()
* Add reauthentication to Verisure

* Update translations

* Correct translation step key

* Address pylint warning

* = is not :
2021-03-16 08:41:41 +01:00
Franck Nijhof 059e9e8307
Add config flow to Verisure ()
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-03-15 12:30:44 -07:00
Franck Nijhof 1095905f8c
Add DataUpdateCoordinator to Verisure () 2021-03-11 19:41:01 +01:00
Franck Nijhof 65cf2fcb6f
Drop asynctest () 2021-01-01 22:31:56 +01:00
Paulus Schoutsen 2af984917e
Use asynctest-mock in most places ()
* Use asynctest-mock in most places

* Fix broken patch in pilight
2020-05-03 11:27:19 -07:00
Paulus Schoutsen 9aa02e35a7
Entity Component to no longer generate automatic groups () 2020-01-07 17:30:53 +01:00
Bas Nijholt 9228ed7c40 Sort imports according to PEP8 for verisure () 2019-12-09 11:21:16 +01:00
Thomas Germain ec45e72bea Add verisure ethernet status () 2019-11-13 14:12:36 +01:00
Paulus Schoutsen 4de97abc3a Black 2019-07-31 12:25:30 -07:00
Paulus Schoutsen e2d3c27e85
Embed all platforms into components ()
* Consolidate all components with platforms

* Organize tests

* Fix more tests

* Fix Verisure tests

* one final test fix

* Add change

* Fix coverage
2019-02-02 07:13:16 -08:00