Marc Mueller
|
a70ec64408
|
Update mypy to 1.7.0 (#103800)
|
2023-11-11 23:31:04 +01:00 |
Erik Montnemery
|
1621310ba7
|
Add serial_number to device registry entries (#102334)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
|
2023-10-22 15:14:44 +02:00 |
J. Nick Koston
|
fe5eba9b31
|
Use cached_property in device registry (#100309)
|
2023-09-13 15:36:07 -05:00 |
Erik Montnemery
|
c3d1cdd0e9
|
Improve UserDict in device and entity registries (#100307)
|
2023-09-13 11:09:34 -05:00 |
Erik Montnemery
|
2e1a5ddf2b
|
Don't allow creating device if config entry does not exist (#98157)
* Don't allow creating device if config entry does not exist
* Fix test
* Update test
|
2023-08-10 22:09:13 -04:00 |
Erik Montnemery
|
045c327928
|
Move DeviceInfo from entity to device registry (#98149)
* Move DeviceInfo from entity to device registry
* Update integrations
|
2023-08-10 22:04:26 -04:00 |
Franck Nijhof
|
af5fc7e759
|
Ensure load the device registry if it contains invalid configuration URLs (#97589)
|
2023-08-01 23:15:31 +02:00 |
Franck Nijhof
|
737ac8c600
|
Fix DeviceInfo configuration_url validation (#97319)
|
2023-07-27 18:57:01 +02:00 |
Marc Mueller
|
3371c41bda
|
Improve `async_track_device_registry_updated_event` callback typing (#97125)
|
2023-07-24 09:42:01 +02:00 |
Marc Mueller
|
69d7b035e0
|
Use EventType for more helper methods (#97107)
|
2023-07-23 23:22:04 +02:00 |
Franck Nijhof
|
30058297cf
|
Migrate backported StrEnum to built-in StrEnum (#97101)
|
2023-07-23 23:19:24 +02:00 |
Erik Montnemery
|
614f3c6a15
|
Move device info validation to device registry (#96465)
* Move device info validation to device registry
* Don't move DeviceInfo
* Fix type annotation
* Don't block adding device for unknown config entry
* Fix test
* Remove use of locals()
* Improve error message
|
2023-07-14 08:55:17 -04: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 |
J. Nick Koston
|
a0c023d5cb
|
Reduce overhead to lookup items in the entity and device registry (#94568)
|
2023-06-14 20:47:18 +02:00 |
J. Nick Koston
|
fba7c6cacd
|
Remove deprecated async_get_registry (#91928)
Deprecated in 2021 via #46265, report was added a year ago in #72088
|
2023-04-23 23:02:21 -04:00 |
epenet
|
029093d0b2
|
Fix lingering timer in device registry (#89422)
|
2023-03-10 09:48:58 -05:00 |
epenet
|
ba23816a0c
|
Inverse json import logic (#88099)
* Fix helpers and util
* Adjust components
* Move back errors
* Add report
* mypy
* mypy
* Assert deprecation messages
* Move test_json_loads_object
* Adjust tests
* Fix rebase
* Adjust pylint plugin
* Fix plugin
* Adjust references
* Adjust backup tests
|
2023-02-16 11:37:57 +01:00 |
Franck Nijhof
|
79b52a2b41
|
Stricter pylint message control (#86154)
|
2023-01-20 13:47:55 +01:00 |
Erik Montnemery
|
8983f665cf
|
Refactor device registry JSON cache (#85539)
|
2023-01-09 09:50:27 -10:00 |
Franck Nijhof
|
06a35fb7db
|
Code styling tweaks to core helpers (#85441)
|
2023-01-08 13:44:09 -10:00 |
Erik Montnemery
|
11c174aca3
|
Revert "Add aliases to device registry items" (#84976)
|
2023-01-02 12:30:25 +01:00 |
Franck Nijhof
|
d4f69a3652
|
String formatting and max line length - Part 7 (#84532)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
|
2022-12-27 11:18:56 +01:00 |
Erik Montnemery
|
057bb6ea0a
|
Add aliases to device registry items (#84246)
|
2022-12-20 23:43:31 +01:00 |
Erik Montnemery
|
f88ed6b69e
|
Use dict.setdefault in registry migration code (#84277)
|
2022-12-20 11:31:31 +01:00 |
Erik Montnemery
|
53263ea9bc
|
Revert "Add serial_number to device registry entries" (#79139)
|
2022-09-27 16:36:38 +02:00 |
Erik Montnemery
|
cba3b6ad94
|
Add serial_number to device registry entries (#77713)
|
2022-09-27 09:08:54 +02:00 |
epenet
|
0a13fe99d2
|
Move mypy override for device_registry (#78493)
|
2022-09-15 11:00:25 +02:00 |
Erik Montnemery
|
56278a4421
|
Simplify device registry (#77715)
* Simplify device registry
* Fix test fixture
* Update homeassistant/helpers/device_registry.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Update device_registry.py
* Remove dead code
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
|
2022-09-03 12:50:55 +02:00 |
Erik Montnemery
|
8924725d69
|
Improve some device registry tests (#77659)
|
2022-09-02 08:54:02 +02:00 |
J. Nick Koston
|
8300d5b89e
|
Add bluetooth connection constant to the device registry (#75666)
|
2022-07-23 19:59:35 +02:00 |
Marc Mueller
|
5ae5ae5392
|
Improve debouncer typing (#75436)
|
2022-07-19 18:35:04 +02:00 |
epenet
|
16900dcef1
|
Make Store a generic class (#74617)
|
2022-07-09 22:32:57 +02:00 |
epenet
|
99941b1c32
|
Warn on use of deprecated async_get_registry (#72088)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
|
2022-05-18 12:04:06 -07:00 |
Franck Nijhof
|
bfb47eb212
|
Final clean up of helpers accessed via hass (#72032)
* Final clean up of helpers accessed via hass
* Fix circular dep
* Fix import
|
2022-05-17 23:42:37 +03:00 |
Franck Nijhof
|
7d2deae592
|
Clean up use of deprecated async_get_registry methods (#72001)
|
2022-05-17 13:40:19 +02:00 |
J. Nick Koston
|
c2c6d12d73
|
Only fire device_registry_updated for suggested_area if the suggestion results in an area change (#69215)
|
2022-04-04 09:51:39 +02:00 |
Erik Montnemery
|
dcb3fc49c9
|
Include changes in EVENT_DEVICE_REGISTRY_UPDATED (#66641)
|
2022-02-16 12:29:08 +01:00 |
Stefan Agner
|
42706f780c
|
Convert disabled_by to DeviceEntryDisabler on load (#63944)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
|
2022-01-11 20:50:32 -08:00 |
Paulus Schoutsen
|
2b4bb49eb7
|
Make device tracker entities work better (#63328)
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
|
2022-01-04 23:16:43 -08:00 |
Ville Skyttä
|
5231bc5dcb
|
Simplify device registry update (#62868)
|
2022-01-04 15:02:11 +01:00 |
Ruslan Sayfutdinov
|
55f4962c06
|
Fix pylint plugin which checks relative imports (#62693)
|
2021-12-23 11:14:47 -08:00 |
J. Nick Koston
|
04153c0075
|
Add hardware version to the device registry (#61650)
|
2021-12-16 05:16:19 -06:00 |
Paulus Schoutsen
|
a59ec9ca5e
|
Handle invalid device registry entry type (#60966)
Co-authored-by: Franck Nijhof <git@frenck.dev>
|
2021-12-04 09:20:12 +01:00 |
Marvin Wichmann
|
707fe67c00
|
Move StrEnum to homeassistant.backports and move Platform to homeassistant.const (#60880)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
|
2021-12-03 09:31:17 +01:00 |
Ville Skyttä
|
e5718ccac4
|
Add removal versions and backcompat constants for device registry enum changes (#60421)
|
2021-11-29 09:47:14 +01:00 |
Ville Skyttä
|
9f4de8df18
|
Make device entry disabled by an enum (#60239)
|
2021-11-24 22:32:16 +01:00 |
Erik Montnemery
|
24779dea3b
|
Bump device registry version to 1.2 (#60199)
|
2021-11-23 22:22:15 +01:00 |
Erik Montnemery
|
ca20fc857f
|
Remove via_device links when a device is removed (#60153)
* Remove via_device links when a device is removed
* Update test
|
2021-11-23 09:36:03 +01:00 |
Ville Skyttä
|
053c456199
|
Change device entry type to an StrEnum (#59940)
Co-authored-by: Ville Skyttä <ville.skytta@iki.fi>
Co-authored-by: Franck Nijhof <git@frenck.dev>
|
2021-11-22 18:14:15 +01:00 |
J. Nick Koston
|
96f7b0d910
|
Use atomicwrites for mission critical core files (#59606)
|
2021-11-15 11:19:31 +01:00 |