Joost Lekkerkerker
b9281327c4
Use FlowResultType enum in config flow tests A-M ( #114681 )
2024-04-03 09:21:17 +02:00
Joost Lekkerkerker
9b41e3d124
Use is in enum comparison in config flow tests A-E ( #114669 )
2024-04-02 11:22:05 -10:00
J. Nick Koston
ea7f2af966
Fix missing mocking in blink tests ( #114540 )
...
extracted from #114539
2024-04-01 11:23:38 +02:00
Joost Lekkerkerker
6bb4e7d62c
Bump ruff to 0.3.4 ( #112690 )
...
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-26 00:02:16 +01:00
Marc Mueller
38adfbf1a3
Add empty line after module docstring [tests a-e] ( #112708 )
2024-03-08 08:50:25 -05:00
J. Nick Koston
b3d9e15fb4
Ensure blink tests add config entry before updating it ( #110415 )
2024-02-12 22:56:22 +01:00
J. Nick Koston
e3813d4134
Migrate blink to use async_update_entry to alter config entries ( #110303 )
2024-02-12 08:30:38 +01:00
Jan-Philipp Benecke
932d930084
Avoid calling hass internals when adding mock config entry in Blink ( #110290 )
2024-02-11 21:17:22 +01:00
J. Nick Koston
02efe41564
Avoid directly changing config entry state in tests ( #110048 )
2024-02-08 16:31:17 -06:00
Marc Mueller
c82933175d
Use builtin TimeoutError [a-d] ( #109678 )
2024-02-05 11:31:33 +01:00
mkmer
019e80b204
Use version property in Blink ( #108911 )
2024-01-27 19:45:13 +01:00
mkmer
4dbaa576a7
Remove unused option flow from blink ( #106735 )
...
* Remove unused option flow
* remove update listener
* adjust scan_interval to original default
* default scn interval back to 30s
2024-01-09 16:06:04 +01:00
mkmer
e7e0ae8f6a
Move services to entity services in blink ( #105413 )
...
* Use device name to lookup camera
* Fix device registry serial
* Move to entity based services
* Update tests
* Use config_entry
Move refresh service out of camera
* Use config entry for services
* Fix service schema
* Add depreciation note
* Depreciation note
* key error changes
deprecated (not depreciated)
repair issue
* tweak message
* deprication v2
* back out update field change
* backout update schema changes
* Finish rollback on update service
* update doc strings
* move to 2024.7.0
More verbosity to deprecation message
2023-12-28 19:56:40 +01:00
mkmer
e9f28c2060
Redact unique id from diagnostics in blink ( #106413 )
...
redact unique id
2023-12-26 16:16:54 +01:00
Erik Montnemery
6908497c3d
Add minor version to config entries ( #105479 )
2023-12-12 08:44:35 +01:00
mkmer
99f28c7163
Late review updates for Blink ( #104755 )
2023-11-30 22:40:41 +01:00
mkmer
d318155f09
Move to new service handeling methods in Blink ( #103435 )
2023-11-28 08:34:41 +01:00
Aarni Koskela
706add4a57
Switch formatting from black to ruff-format ( #102893 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-11-27 14:38:59 +01:00
mkmer
669b347ed1
Add init test to Blink ( #103263 )
2023-11-27 11:13:40 +01:00
mkmer
f7fef14d06
Add diagnostic platform and tests to Blink ( #102650 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-11-13 13:49:07 -06:00
mkmer
9444e1e2ab
Address Blink late review ( #102106 )
...
* Address late review topics
* Missing await, optimize config_flow call
* Address proper mock for blink
* Address typing
2023-10-16 17:41:56 +02:00
mkmer
eaf6197d43
Bump Blinkpy to 0.22.2 in Blink ( #98571 )
2023-10-16 13:41:45 +02:00
epenet
807c69f621
Add type hints to integration tests (b-c) ( #87698 )
2023-02-08 18:08:43 +01:00
Franck Nijhof
5e81d28116
Update black to 23.1.0 ( #87188 )
2023-02-02 18:35:24 +01:00
epenet
5be961f07f
Use SchemaOptionsFlowHandler in blink ( #82903 )
...
* Use SchemaOptionsFlowHandler in blink
* Use config entry update listener
* Adjust tests
* Simplify options init
* Don't reload
* Use selector
2022-11-30 14:59:26 +01:00
Franck Nijhof
7cd68381f1
Search/replace RESULT_TYPE_* by FlowResultType enum ( #74642 )
2022-07-07 19:57:36 +03:00
epenet
078c5cea86
Adjust async_step_reauth in blink ( #74167 )
2022-06-29 11:54:21 +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
Ville Skyttä
153d6e891e
Use config_entries.SOURCE_* constants ( #49631 )
2021-04-25 11:27:40 +02:00
Franck Nijhof
bb9da22a84
Clean up superfluous integration setup - part 3 ( #48484 )
2021-03-29 13:23:44 -10:00
Kevin Fronczak
8900b38c7f
Add Blink config migration ( #46671 )
2021-03-23 09:24:42 +01:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
Paulus Schoutsen
1c36bf5e19
Fix block till done in create entry config flow tests ( #42290 )
2020-10-24 16:20:56 +02:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 ( #39287 )
2020-08-27 13:56:20 +02:00
Kevin Fronczak
3fdec7946c
Blink auth flow improvement and mini camera support ( #38027 )
2020-08-05 12:21:14 +02:00
Kevin Fronczak
a68af0a3a9
Add blink tests ( #36672 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-06-16 11:05:33 +02:00