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
Nathan Spencer
b03de1c92f
Address code review from litterrobot PR ( #78699 )
...
Address code review
2022-09-18 21:21:24 +02:00
Nathan Spencer
cc51052be5
Change litterrobot integration to cloud_push ( #77741 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-09-17 04:29:56 -05:00
Nathan Spencer
03e6bd0811
Bump pylitterbot to 2022.9.1 ( #78071 )
2022-09-08 19:13:20 +02:00
Nathan Spencer
916c44b5b4
Adjust litterrobot platform loading/unloading ( #77682 )
...
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-09-02 16:18:10 -04:00
Nathan Spencer
d0d1b303fd
Code quality improvements for litterrobot integration ( #77605 )
2022-09-01 14:02:46 -04:00
Robert Hillis
7c27be230c
Add reauth flow to Litterrobot ( #77459 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-08-28 23:40:28 -05:00
Nathan Spencer
8c24d5810c
Remove deprecated reset_waste_drawer and set_wait_time services from litterrobot ( #77052 )
2022-08-25 13:31:04 -05:00
Nathan Spencer
b563bd0ae5
Add support for Litter-Robot 4 ( #75790 )
2022-08-25 11:32:27 -05:00
J. Nick Koston
9b157f974d
Reduce overhead to refire events from async_track_point_in_utc_time when an asyncio timer fires early ( #73295 )
...
* Reduce overhead to refire events
- asyncio timers can fire early for a varity of reasons including
poor clock resolution and performance. To solve this problem
we re-arm async_track_point_in_utc_time and try again later
when this happens.
- On some platforms this means the async_track_point_in_utc_time can
end up trying many times to prevent firing the timer early since as
soon as it rearms it fires again and this repeats until we reach
the appointed time. While there is not much we can do to prevent
asyncio from firing the timer callback early, we can reduce the
overhead when this happens by using avoiding creating datetime
objects
* tweak mocking
* -vvv
* fix time freeze being too broad in litterrobot
* adjust
2022-06-14 07:46:00 -10:00
Nathan Spencer
21cfbe875e
Remove logic to mark litterrobot vacuum entity as unavailable ( #73234 )
2022-06-11 00:16:47 +03:00
Nathan Spencer
ae89a1243a
Refactor litterrobot to use SensorEntityDescription ( #71224 )
2022-05-12 13:15:59 -05:00
Nathan Spencer
1ede67e51f
Reflect unavailable state when litter robot hasn't been seen recently ( #70810 )
2022-04-30 12:43:13 +03:00
Dave T
a7ef983a31
Use new enums in litterrobot tests ( #62515 )
...
* Use new enums in litterrobot tests
* Code review: swap == for is
2021-12-22 10:00:24 +01:00
Nathan Spencer
406cbcfe2d
Use an assumed switch state until refresh callback is complete ( #59805 )
2021-11-18 21:29:38 -08:00
Nathan Spencer
eaaa53d8d5
Add button to litterrobot ( #59734 )
2021-11-15 20:09:22 +01:00
Nathan Spencer
ea4009fd81
Use entity_category in litterrobot ( #59074 )
2021-11-04 22:34:54 +01:00
Nathan Spencer
aacc009cbb
Get Litter-Robot to 100% code coverage and minor code cleanup ( #58704 )
2021-10-30 09:13:03 -05:00
Nathan Spencer
659a0d9a95
Add select platform to Litter-Robot integration ( #58323 )
2021-10-29 07:47:15 -05: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
Erik Montnemery
2720ba2753
Move temperature conversions to sensor base class (4/8) ( #54472 )
...
* Move temperature conversions to entity base class (4/8)
* Fix litterrobot sensor
* Fix tests
2021-08-11 21:17:47 +02:00
Marc Mueller
5d2ce19746
Update python-typing-update to v0.3.5 ( #53223 )
...
* Update python-typing-update to 0.3.5
* Update typing
2021-07-20 11:31:48 +02:00
Nathan Spencer
9ec0b0a8da
Fix for invalid value error when using UI editor for Litter-Robot's set_wait_time service ( #50269 )
2021-05-25 20:15:37 +02:00
Ville Skyttä
19d25cd901
Change config entry state to an enum ( #49654 )
...
* Change config entry state to an enum
* Allow but deprecate EntryState str equality comparison
* Test fixes
* Rename to ConfigEntryState
* Remove str comparability backcompat
* Update new occurrences of strs cropped up during review
2021-05-20 19:19:20 +02:00
Franck Nijhof
7264c95217
Clean up superfluous integration setup - part 6 ( #49298 )
2021-04-16 09:23:27 -07:00
Nathan Spencer
eb2949a20f
Add set_wait_time command support to Litter-Robot ( #48300 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-04-11 10:35:25 -10:00