G Johansson
2eaf206562
Implement new state property for vacuum which is using an enum ( #126353 )
...
* Implement new state property for vacuum which is using an enum
* Mod
* Mod init
* Mods
* Fix integrations
* Tests
* Fix state
* Add vacuum tests
* Fix last test
* Litterrobot tests
* Fixes
* Tests
* Fixes
* Fix VacuumEntity
* Mods
* Mods
* Mods
* Update demo
* LG
* Fix vacuum
* Fix Matter
* Fix deprecation version
* Mods
* Fixes
* Fix ruff
* Fix tests
* Fix roomba
* Fix breaking dates
2024-12-06 11:16:03 +01:00
epenet
9bcc31a9fe
Use start_reauth helper method in integration tests (s) ( #124793 )
2024-08-28 16:49:05 +02:00
epenet
45eebf3285
Use reauth_confirm in sharkiq ( #124762 )
2024-08-28 13:09:21 +02:00
epenet
7ff368fe0d
Improve type hints in sharkiq tests ( #123888 )
2024-08-14 12:50:08 +02:00
Sid
721b2c2ca8
Enable Ruff PT012 ( #113957 )
2024-06-08 17:59:08 +02:00
epenet
e58d060f82
Use registry fixtures in tests (s) ( #118295 )
2024-05-28 15:41:03 +02:00
Ben Thomas
f6f6bf8953
SharkIQ Fix for vacuums without room support ( #118209 )
...
* Fix SharkIQ vacuums without room support crashing the SharkIQ integration
* Fix ruff format
* Fix SharkIQ tests to account for robot identifier and second expected value
2024-05-27 23:57:21 -04:00
Ben Thomas
4d7802215c
Fix rooms not being matched correctly in sharkiq.clean_room ( #118277 )
...
* Fix rooms not being matched correctly in sharkiq.clean_room
* Update sharkiq tests to account for new room matching logic
2024-05-27 23:51:51 -04:00
Joost Lekkerkerker
f3ba713289
Use FlowResultType enum in config flow tests N-Z ( #114682 )
...
Use FlowResultType enum in config flow tests
2024-04-03 09:53:20 +02:00
Mark Adkins
2511a9a087
Add SharkIQ room targeting ( #89350 )
...
* SharkIQ Dep & Codeowner Update
* Update code owners
* SharkIQ Room-Targeting Support
* Add Tests for New Service
* Remove unreachable code
* Refine tests to reflect unreachable code changes
* Updates based on PR comments
* Updates based on PR review comments
* Address issues found in PR Review
* Update Exception type, add excption message to strings. Do not save room list in state history.
* Update message to be more clear that only one faild room is listed
* couple more updates based on comments
---------
Co-authored-by: jrlambs <jrlambs@gmail.com>
Co-authored-by: Robert Resch <robert@resch.dev>
2024-03-28 14:19:25 +01: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
7d6251ca08
Add empty line after module docstring [tests q-s] ( #112711 )
2024-03-08 14:47:22 +01:00
Erik Montnemery
7539cf25be
Don't require passing identifiers to DeviceRegistry.async_get_device ( #96479 )
...
* Require keyword arguments to DeviceRegistry.async_get_device
* Update tests
* Update tests
* Don't enforce keyword arguments
2023-07-13 13:39:25 -04:00
Erik Montnemery
8f2a21d270
Update sharkiq vacuum supported features ( #95829 )
2023-07-04 11:51:42 +02:00
Erik Montnemery
5671934b34
Fix sharkiq tests ( #93597 )
2023-05-26 15:35:06 +02:00
Mark Adkins
0cf29f0f84
Fix SharkIQ token expiration ( #89357 )
2023-04-16 14:04:18 +02:00
epenet
592ac37436
Add missing mock in sharkiq tests ( #91325 )
2023-04-13 19:33:38 +02:00
Mark Adkins
1f7ebe9249
SharkIQ Hotfix - Handle current installations by using default `REGION` ( #90741 )
...
* Add default region on async_setup_entry
* Move logic to migration function
* Move update logic back to setup function, but updates the config if needed.
* Remove commented out code
* Update Tests & Config setting method
* Update homeassistant/components/sharkiq/__init__.py
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
* Update homeassistant/components/sharkiq/__init__.py
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
* Accept Suggestions & Formatting
---------
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-04-04 21:06:24 -04:00
Mark Adkins
38f3b9f165
Add SharkIQ EU region support ( #89349 )
...
* SharkIQ Dep & Codeowner Update
* Update code owners
* Add EU Region Support
* Update Config Flow Tests
* Standardize Region Comparison Strings
* Add Translation Support to Region Selector
* Fix Validation Tests
2023-03-28 08:48:32 +02:00
epenet
80ee196fd8
Add type hints to integration tests (part 19) ( #88178 )
2023-02-15 18:07:40 +01:00
Franck Nijhof
ed79265843
Enable Ruff PT006 ( #88165 )
...
* Enable Ruff PT006
* Adjust existing cases
* Fix tests
* Remove unneeded parentheses
2023-02-15 14:09:50 +01:00
epenet
ba85fdcd61
Add type hints to integration tests (q-s) ( #87706 )
2023-02-08 08:12:54 -08:00
epenet
30bf0634fe
Add per-file-ignore to pylint ( #86289 )
2023-01-22 17:26:24 +01:00
epenet
0ac581a0b1
Cleanup EntityFeature in tests ( #78859 )
2022-09-21 10:48:55 +02:00
Jeff Rescignano
7767258696
Change sharkiqpy to sharkiq ( #68864 )
2022-03-30 11:41:34 -07:00
Marc Mueller
d057850971
Update typing - collections.abc (3) ( #63947 )
2022-01-12 08:04:17 +01: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
969c147b77
Clean up superfluous integration setup - part 4 ( #49295 )
...
* Clean up superfluous integration setup - part 4
* Adjust tests
2021-04-16 17:46:49 +02:00
Marc Mueller
54d1e9985f
Update typing 15 ( #48079 )
2021-03-18 15:13:22 +01:00
Erik Montnemery
ba2978c693
Update tests p-s to use async_get() instead of async_get_registry() ( #47654 )
2021-03-09 14:28:32 +01:00
Ville Skyttä
2fb3be50ab
Make DeviceRegistry.async_get_device connections arg optional ( #44897 )
...
* Make async_get_device connections Optional, default None
* Remove unnecessary async_get_device connections arg usages
Some of these were using an incorrect collection type, which didn't
cause issues mostly just due to luck.
2021-01-07 13:49:45 +01:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
Andrew Marks
42cdbc7e1d
Correct logging and add test case for sharkiq ( #41863 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-11-09 08:33:09 +01:00
J. Nick Koston
6822190772
Fix unmocked https in the test suite ( #42316 )
2020-10-25 07:16:23 -05:00
Andrew Marks
01bac9f433
Refactor sharkiq tests ( #39564 )
...
* Refactor sharkiq tests
* Fix linting
* Remove unussed logger
* Test one more code branch
* Don't patch integration files
* Remove legacy calls
* Linting fixes
* Refactor coordinator update tests
* Reformat test params
* Refector config flow tests
* Minor code cleanup
* Fix spelling error
* Address review
* Minor formatting change
* Remove vacuum.py from .coveragerc
2020-09-04 15:13:11 -05:00
Andrew Marks
064d115ccb
Address open review issues in sharkiq integration ( #39504 )
2020-09-01 17:51:27 +02:00
springstan
4294d10789
Format sharkiq with black ( #39422 )
2020-08-30 08:56:59 -05:00
Andrew Marks
3d1ff5b8d0
Add sharkiq integration for Shark IQ robot vacuums ( #38272 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-08-30 15:26:11 +02:00