Luke Lashley
0dd9845501
Add total cleaning count sensor to Roborock ( #135015 )
2025-01-07 19:01:04 +01:00
Allen Porter
c684b06734
Simplify roborock coordinator ( #134700 )
...
* Update roborock coordinator to require maps on startup
* Fix indent in merge
2025-01-07 07:09:32 -08:00
Allen Porter
a66cf62b09
Update roborock tests to only load the platform under test ( #134694 )
2025-01-07 14:08:12 +01:00
Luke Lashley
14d2f2c589
Add extra failure exceptions during roborock setup ( #134889 )
...
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2025-01-06 15:46:21 +01:00
Allen Porter
2c7a1446b8
Update Roborock config flow message when an account is already configured ( #134854 )
2025-01-06 11:24:06 +01:00
Allen Porter
2f295efb3f
Update roborock to ensure every room has a name, falling back to a placeholder ( #134733 )
...
* Update roborock to ensure every room has a name, falling back to a placeholder
* Change Map to Room
2025-01-05 18:28:17 -08:00
G Johansson
4080455c12
Use x,y in roborock action call ( #134133 )
...
* Use x,y in roborock action call
* Fix description
2024-12-28 16:12:09 +01:00
Raphael Hehl
b2a160d926
Roborock Add vacuum_goto service ( #133994 )
...
* Roborock Add vacuum_goto service to control vacuum movement to specified coordinates
* roborock Add type specification for x_coord and y_coord in vacuum_goto service
* roborock Add get_current_position service to retrieve vacuum's current coordinates
* Rename vacuum services for clarity and consistency
* Apply suggestions from code review
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* Add integration field to vacuum service targets for Roborock
---------
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2024-12-27 00:20:09 +01:00
Luke Lashley
ce94073321
Bump python-roborock to 2.7.2 ( #130100 )
2024-11-08 08:39:41 +01:00
Allen Porter
8d0e9eb8ac
Improve Roborock error handling ( #124267 )
2024-09-24 22:38:40 +02:00
Paulus Schoutsen
006b2da14e
Add model ID to roborock ( #125366 )
2024-09-05 16:52:45 -04:00
Yuxin Wang
097162eceb
Add handling for `RoborockTooFrequentCodeRequests` for roborock integration ( #123759 )
...
* Add handling for RoborockTooFrequentCodeRequests
* Add tests for coverage
2024-08-19 21:09:01 -07:00
Luke Lashley
43481ffeac
Add support for Roborock Zeo ( #121334 )
2024-07-06 11:24:32 +02:00
Luke Lashley
ffc39585ed
Add ability to select current map for Roborock ( #120882 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-07-05 09:38:26 -05:00
Robert Resch
31e9de3b95
Adapt Roborock to runtime_data ( #120578 )
...
* Adopt Roborock to runtime_data
* Fix name
2024-06-26 19:42:15 +02:00
Luke Lashley
d0f82d6f02
Add support for Dyad vacuums to Roborock ( #115331 )
2024-06-26 15:40:19 +02:00
Luke Lashley
b9be491016
Add options flow to Roborock ( #104345 )
...
Co-authored-by: Robert Resch <robert@resch.dev>
2024-06-26 14:32:26 +02:00
epenet
4320445c30
Use absolute import in roborock tests ( #119353 )
2024-06-11 07:59:46 +02:00
epenet
ac588ddc75
Use relative imports in tests [j-r] ( #119282 )
2024-06-10 13:32:31 +02:00
epenet
8d8696075b
Use registry fixtures in tests (r) ( #118293 )
2024-05-28 14:23:31 +02:00
Luke Lashley
412e9bb072
Add test data for Zeo and Dyad devices to Roborock ( #117054 )
2024-05-09 00:16:48 +02:00
Luke Lashley
835ce919f4
Fix roborock image crashes ( #116487 )
2024-05-01 11:56:02 +02:00
Luke Lashley
cc79129587
Make Roborock listener update thread safe ( #116184 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-04-25 13:26:11 -05:00
Luke Lashley
968de08e4b
Bump python-roborock to 1.0.0 ( #115324 )
...
* refactor base code
* refactor tests code
2024-04-09 20:50:46 -04:00
Luke Lashley
5ef42078a3
Add a service to get maps for Roborock ( #111478 )
...
* add service to get rooms
* fix linting
* add snapshot
* change map id
2024-04-08 21:40:59 +02:00
Joost Lekkerkerker
ee66f6ec8c
Use is in enum comparison in config flow tests P-T ( #114675 )
2024-04-02 11:21:50 -10: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
Sid
69564b1a17
Add ruff rule PIE800 ( #113619 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-16 16:31:30 -10:00
Marc Mueller
aa16a9d707
Add empty line after module docstring (3) ( #112750 )
2024-03-08 20:38:34 +01:00
Marc Mueller
32f3f46542
Add empty line after module docstring (2) [tests.components] ( #112737 )
2024-03-08 19:16:21 +01:00
Marc Mueller
7d6251ca08
Add empty line after module docstring [tests q-s] ( #112711 )
2024-03-08 14:47:22 +01:00
Luke Lashley
59df20f1d4
Bump python_roborock to 0.40.0 ( #112238 )
...
* bump to python_roborock 0.40.0
* manifest went away in merge?
2024-03-04 20:28:53 +01:00
Luke Lashley
74f1420410
Add the ability to resume cleaning on start button ( #112122 )
2024-03-03 12:41:31 -05:00
J. Nick Koston
6abb8ae273
Migrate setup to use eager tasks ( #111619 )
2024-02-27 12:43:32 -10:00
J. Nick Koston
d5e1934942
Use an eager task in the update coordinator scheduled refresh ( #111570 )
...
* Use an eager task in the update coordinator scheduled refresh
We have a lot of places that will not suspend because the refresh function
decides it does not need to update. Currently these have to be scheduled
on the event loop even though they are a noop.
Since _handle_refresh_interval is subclassed in some integrations, I created
a dunder wrapper function to avoid integraions subclassing it
* fix time fires outside of patch
2024-02-26 23:31:08 -05:00
Luke Lashley
33cdcce191
Better teardown and setup of Roborock connections ( #106092 )
...
Co-authored-by: Robert Resch <robert@resch.dev>
2024-02-12 09:37:37 +01:00
Luke Lashley
6f3be3e505
Move Roborock map retrieval to coordinator and made map always diagnostic ( #104680 )
...
Co-authored-by: Robert Resch <robert@resch.dev>
2024-02-07 09:13:51 +01:00
Luke Lashley
aa86d87a31
Bump python-roborock to 39.1 ( #108751 )
2024-01-24 19:11:39 +01:00
Luke Lashley
fa5af8f187
Add Translation for Roborock exceptions ( #105427 )
...
* add translations to exceptions
* Make errors more user understandable
* make command not ternary operator
* removed non-user facing exceptions
* Add user facing exceptions and code coverage
* add match
* fix linting
* Apply suggestions from code review
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
---------
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2024-01-16 21:00:20 +01:00
Jan-Philipp Benecke
c86b45b454
Remove deprecated vacuum service from roborock ( #107895 )
2024-01-14 09:57:17 +01:00
Luke Lashley
29cac5b093
Bump Python-Roborock to 0.39.0 ( #107547 )
...
* bump to 0.39.0
* add new strings
* change strings
2024-01-09 16:48:01 +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
Luke Lashley
5f41d6bbfb
Add better error handling for Roborock initialization ( #104181 )
...
* Introduce better handling of errors in init for Roborock
* patch internally
* push exceptions up
* remove duplicated test
2023-11-22 08:34:20 -08:00
Luke Lashley
464270d849
Add reauthentication to Roborock ( #104215 )
...
* add reauth to roborock
* update reauth based on comments
* fix diagnostics?
* Update homeassistant/components/roborock/config_flow.py
Co-authored-by: Allen Porter <allen.porter@gmail.com>
* remove unneeded import
* fix tests coverage
---------
Co-authored-by: Allen Porter <allen.porter@gmail.com>
2023-11-21 15:21:31 -08:00
Luke Lashley
6ef194f992
Add listeners for roborock ( #103651 )
...
* Add listeners for roborock
* add tests
* decrease test complexity
2023-11-19 16:24:43 -08:00
Luke Lashley
bee457ed6f
Add Image to Roborock to display maps ( #102941 )
...
* add image to roborock
* add vacuum position
* addressing MR comments
* remove room names as it isn't supported in base package
* 100% coverage
* remove unneeded map changes
* fix image logic
* optimize create_coordinator_maps
* only update time if map is valid
* Update test_image.py
* fix linting from merge conflict
* fix mypy complaints
* re-add vacuum to const
* fix hanging test
* Make map sleep a const
* adjust commenting to be less than 88 characters.
* bump map parser
2023-11-18 12:22:30 -08:00
Luke Lashley
44fe704f49
Bump python-roborock to 0.36.0 ( #103465 )
2023-11-08 12:48:05 +01:00
Luke Lashley
47d6d6c344
Add button platform to Roborock ( #103010 )
...
* add button platform to roborock
* Update tests/components/roborock/test_button.py
Co-authored-by: Duco Sebel <74970928+DCSBL@users.noreply.github.com>
* Remove device class
* improve tests
* sort platforms
---------
Co-authored-by: Duco Sebel <74970928+DCSBL@users.noreply.github.com>
2023-11-01 21:34:04 +01:00
Luke Lashley
dd111416e7
Add cleaning binary sensor to Roborock ( #102748 )
2023-10-25 06:10:31 +02:00
Luke Lashley
e4cb19f20d
Bump python-roborock to 0.34.6 ( #101147 )
2023-10-02 20:11:16 +02:00