Commit Graph

79 Commits

Author SHA1 Message Date
Joost Lekkerkerker
4cd3527761 Enable B009 (#144192) 2025-05-21 16:37:51 +01:00
Justin Bull
e05f7a9633 Expose LitterHopper status for LR4 (#143684)
* Expose LitterHopper status for LR4

* Proper naming and icons

* Add simple tests

* fix test: lowercase enabled

* over-torque, not OT

* Don't use icon_fn for simple state map

* short not Short

* Better state names
2025-04-30 19:41:05 +02:00
Nathan Spencer
b1c3d0857a Add pets to litterrobot integration (#136865) 2025-01-31 17:35:08 +01:00
Nathan Spencer
404ca283c6 Let platforms decide entity creation in litterrobot (#136738) 2025-01-28 19:28:01 +01:00
Nathan Spencer
b1a4ba7b7c Update config flow tests for litterrobot (#136658)
Co-authored-by: Joostlek <joostlek@outlook.com>
2025-01-28 11:21:46 +01:00
Nathan Spencer
90bd783fff Standardize DOMAIN usage in litterrobot tests (#136290)
* Standardize DOMAIN usage in litterrobot tests

* Fix additional DOMAIN references in tests

* Make platform domain usage more clear in tests
2025-01-23 08:17:59 +01:00
Nathan Spencer
33f966a12e Convert LitterRobotHub to a DataUpdateCoordinator (#136283) 2025-01-22 22:20:13 +01:00
Nathan Spencer
e7345dd44a Remove extra_state_attributes from Litter-Robot vacuum entities (#136196) 2025-01-22 00:49:43 +02:00
Nathan Spencer
81b7d01a7d Bump pylitterbot to 2024.0.0 (#135891) 2025-01-18 13:01:09 +01:00
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
9d633f2087 Use start_reauth helper method in integration tests (h-l) (#124787) 2024-08-28 15:47:35 +02:00
Robert Hillis
64cef6e082 Store runtime data inside the config entry in Litter Robot (#119547) 2024-06-21 11:28:44 +02:00
epenet
2c7022950c Fix import-outside-toplevel pylint warnings in tests (#119389) 2024-06-11 14:57:50 +02:00
epenet
3d31af3eb4 Move entity_registry_enabled_by_default to decorator [a-p] (#118794) 2024-06-04 16:18:42 +02:00
epenet
44f715bd02 Use issue_registry fixture in component tests (#118041) 2024-05-24 15:54:20 +02:00
epenet
a3942e019b Use remove_device helper in tests (2/2) (#116442)
Use remove_device helper in tests (part 2)
2024-04-30 12:50:35 +02:00
Nathan Spencer
6594d022ba Bump pylitterbot to 2023.4.11 (#114918) 2024-04-06 12:16:00 +02:00
Joost Lekkerkerker
b9281327c4 Use FlowResultType enum in config flow tests A-M (#114681) 2024-04-03 09:21:17 +02:00
Joost Lekkerkerker
5d500cb74b Use is in enum comparison in config flow tests K-O (#114672) 2024-04-02 11:21:42 -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
00ec7f11f0 Enable Ruff rule PT007 (#113764)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2024-03-19 09:01:07 +01:00
Joost Lekkerkerker
cddce0ce0d Enable more SIM ruff rules (#113015)
* SIM101 SIM103

* SIM107 SIM109

* SIM110

* SIM112 SIM113

* SIM115

* SIM116

* Fix

* Fix

* Fix
2024-03-10 23:20:37 -04:00
Marc Mueller
1722e23df8 Add empty line after module docstring [tests l-p] (#112710) 2024-03-08 14:55:15 +01:00
Joost Lekkerkerker
e43c62af1e Add icon translations to Litterrobot (#111899) 2024-03-01 13:40:37 +01:00
Jan-Philipp Benecke
7c848d78ab Remove deprecated services from Litterrobot (#107882) 2024-01-14 11:50:12 +01:00
Jan Bouwhuis
c7eab49c70 Raise ServiceValidationError on invalid select option (#106350)
* Raise ServiceValidationError on invalid select option

* Fix tests

* Correct place holders

* More test fixes
2023-12-27 09:45:55 +01:00
Jan-Philipp Benecke
0eafc8f2cd Update k-l* tests to use entity & device registry fixtures (#103929) 2023-11-13 20:02:33 +01:00
Matt Zimmerman
806205952f Fix litterrobot test failure due to time zone dependence (#103444)
* fix litterrobot test

* use a date in northern hemisehpere summer
2023-11-05 18:42:07 +01:00
Erik Montnemery
1f122eb688 Adjust services supported by litterrobot vacuum (#95788) 2023-10-09 10:56:39 +02:00
Nathan Spencer
615d7f0da7 Add ability to remove Litter-Robot if no longer provided by integration (#97702) 2023-08-03 20:30:03 -10:00
Nathan Spencer
ec8988f8ea Add time entity for sleep mode start time to Litter-Robot 3 (#94194) 2023-06-27 22:25:29 +02:00
Nathan Spencer
8ac74c5979 Bump pylitterbot to 2023.4.0 (#91759) 2023-04-20 20:29:35 +02:00
Nathan Spencer
cdefc48fcd Add panel brightness control for Litter-Robot 4 (#86269)
* Add panel brightness control for Litter-Robot 4

* Use translation_key

* Fix test
2023-03-28 15:07:09 +02:00
epenet
69a46d4002 Adjust pylint plugin for components fixtures (#90217)
* Adjust pylint plugin for components fixtures

* Adjust components

* Use MagicMock

* Adjust

* Use None
2023-03-26 15:21:19 +02:00
epenet
d65dff3f9e Adjust entity registry access in tests (2) (#88960) 2023-03-01 16:23:36 +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
ea11a30a35 Add type hints to integration tests (part 13) (#87998) 2023-02-13 14:38:37 +01:00
Erik Montnemery
cc564026fa Move EntityCategory to homeassistant.const (#87792)
* Move EntityCategory to homeassistant.const

* Fix more imports
2023-02-09 20:15:37 +01:00
epenet
f75ac17554 Add type hints to integration tests (j-m) (#87704) 2023-02-08 19:06:59 +01:00
Franck Nijhof
5e81d28116 Update black to 23.1.0 (#87188) 2023-02-02 18:35:24 +01:00
epenet
30bf0634fe Add per-file-ignore to pylint (#86289) 2023-01-22 17:26:24 +01:00
Nathan Spencer
c6f60bf45d Code cleanup in litterrobot (#86037) 2023-01-16 20:58:30 +01:00
Michael
e35ab75c0b Replace the usage of unit constants by enumerations in Tests [h-l] (#85934) 2023-01-15 14:52:55 +01:00
Nathan Spencer
0ae855d345 Fix Litter-Robot 4 firmware versions reported while updating (#85710) 2023-01-12 03:53:06 +01:00
Nathan Spencer
a2935654b9 Add firmware update entity for Litter-Robot 4 (#83590)
* Add firmware update entity for Litter-Robot 4

* Report installed version of firmware on robot when updated
2022-12-22 08:22:21 -08:00
Franck Nijhof
c25ba19ffd Use enum sensor device class in Litter-Robot (#83290) 2022-12-06 11:08:05 +01:00
Robert Hillis
bd01f90d42 Migrate attributes to sensors in Litter-Robot (#78580) 2022-09-25 22:40:34 -04:00
Nathan Spencer
10a12b1bc9 Bump pylitterbot to 2022.9.5 (#78785) 2022-09-19 21:29:29 +02:00
epenet
b5c1f856e2 Fix litterrobot tests (#78741) 2022-09-19 10:25:25 +02:00
Robert Hillis
aa0cbf0afe Add tests for LitterRobot sensors (#78638) 2022-09-18 21:12:38 -07:00