Commit graph

28 commits

Author SHA1 Message Date
J. Nick Koston
d0d4ab6056
Require a list of entity ids when fetching history () 2023-04-08 16:14:44 -10:00
epenet
71dc98a39c
Improve hass_ws_client type hint in tests () 2023-03-14 16:31:40 +01:00
J. Nick Koston
1c57339ec3
Refactor recorder tests to use recorder history API () 2023-03-11 21:51:16 -05:00
epenet
9a5f88f55f
Add type hints to integration tests (part 23) () 2023-02-17 16:40:46 +01:00
Erik Montnemery
9989a4787b
Fix recorder platform tests () 2023-02-17 08:22:15 -06:00
Franck Nijhof
ed79265843
Enable Ruff PT006 ()
* Enable Ruff PT006

* Adjust existing cases

* Fix tests

* Remove unneeded parentheses
2023-02-15 14:09:50 +01:00
G Johansson
8c00f435a6
Change name to entity_id update platform error messages () 2023-02-12 22:18:09 +01:00
Erik Montnemery
cc564026fa
Move EntityCategory to homeassistant.const ()
* Move EntityCategory to homeassistant.const

* Fix more imports
2023-02-09 20:15:37 +01:00
Franck Nijhof
51a9f65a01
Clean up unnecessary registry mocks from Core tests () 2023-02-08 13:28:44 -06:00
Erik Montnemery
31a787558f
Ensure recorder test fixture is setup before hass fixture ()
* Ensure recorder test fixture is setup before hass fixture

* Adjust more tests
2022-10-19 07:58:47 +02:00
Erik Montnemery
5f2b4001f3
Separate recorder database schema from other classes ()
* Separate recorder database schema from other classes

* fix logbook imports

* migrate new tests

* few more

* last one

* fix merge

Co-authored-by: J. Nick Koston <nick@koston.org>
2022-06-07 14:41:43 +02:00
Erik Montnemery
28ebab9c5a
Simplify waiting for recorder in tests () 2022-04-25 12:04:47 +02:00
Erik Montnemery
982e314de6
Use recorder_mock in tests ()
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-04-22 19:29:44 -10:00
Erik Montnemery
5e50a8abd5
Mark device triggers from hidden or auxiliary entities as secondary ()
* Mark device triggers from hidden or auxiliary entities as secondary

* Update tests
2022-04-21 08:01:32 +02:00
Franck Nijhof
d65e12ab6e
Add clear_skipped service to update entity () 2022-04-19 16:11:16 +02:00
Franck Nijhof
c0e9cfedfb
Add device trigger support to Update entity () 2022-04-06 08:50:21 -07:00
Franck Nijhof
14a19aea03
Exclude update entity picture attribute from recorder () 2022-04-03 21:41:51 +02:00
Franck Nijhof
b644e7ed0f
Set brand icon as entity picture on update entities ()
Co-authored-by: Joakim Sørensen <ludeeus@ludeeus.dev>
2022-04-03 20:38:05 +02:00
Franck Nijhof
c31e788439
Rename current_version to installed_version in Update platform () 2022-04-01 20:11:17 +02:00
Joakim Sørensen
a81194cdd7
Add auto_update property to UpdateEntity () 2022-04-01 12:56:58 +02:00
J. Nick Koston
185aa025ac
Exclude large and chatty attributes from being recorded for update entities ()
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
2022-03-31 14:28:19 +02:00
Joakim Sørensen
6d168d2672
Do not mark downgrades as updates () 2022-03-30 09:34:29 -07:00
Joakim Sørensen
9a150c2234
Add release_notes method to update entities () 2022-03-29 17:38:56 -07:00
Franck Nijhof
44d3a7e459
Adjust backup type of Update entity () 2022-03-23 11:20:04 +01:00
Franck Nijhof
2424564d2c
Change update default entity category based on features () 2022-03-21 14:35:40 +01:00
Franck Nijhof
073fb40b79
Add update entity platform ()
Co-authored-by: Glenn Waters <glenn@watrs.ca>
2022-03-21 11:02:48 +01:00
Joakim Sørensen
6b3b21bcfd
Revert "Add update integration ()" () 2022-03-07 15:52:15 -08:00
Joakim Sørensen
1a78e18eeb
Add update integration ()
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-03-03 08:27:09 -08:00