epenet
9f688a564f
Add type hints to integration tests (part 4) ( #87848 )
2023-02-11 08:26:13 +01:00
Franck Nijhof
330e1c6cbb
Clean up unnecessary registry mocks from integration tests ( #87763 )
2023-02-09 10:43:45 +01:00
epenet
807c69f621
Add type hints to integration tests (b-c) ( #87698 )
2023-02-08 18:08:43 +01:00
Franck Nijhof
ef800335fb
Enable Ruff PT022 ( #86792 )
...
* Enable Ruff PT022
* Adjust found cases
2023-01-27 13:57:06 +01:00
Erik Montnemery
8983f665cf
Refactor device registry JSON cache ( #85539 )
2023-01-09 09:50:27 -10:00
Erik Montnemery
11c174aca3
Revert "Add aliases to device registry items" ( #84976 )
2023-01-02 12:30:25 +01:00
Erik Montnemery
057bb6ea0a
Add aliases to device registry items ( #84246 )
2022-12-20 23:43: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
Erik Montnemery
8924725d69
Improve some device registry tests ( #77659 )
2022-09-02 08:54:02 +02:00
J. Nick Koston
3875fc5953
Cache the response from config/device_registry/list ( #74483 )
2022-07-05 21:08:39 -07:00
Erik Montnemery
c496748125
Add WS API for removing a config entry from a device ( #66188 )
...
* Add WS API for removing a config entry from a device
* Address review comments
* Address review comments
* Remove entity cleanup from ConfigEntries
* Update + add tests
* Improve comments in test
* Add negative test
* Refactor according to review comments
* Add back async_remove_config_entry_device
* Remove unnecessary error handling
* Simplify error handling
2022-02-21 10:11:18 +01:00
Joakim Sørensen
38f7213002
Add more tests to device registry updates ( #65989 )
2022-02-07 11:15:04 +01:00
J. Nick Koston
04153c0075
Add hardware version to the device registry ( #61650 )
2021-12-16 05:16:19 -06:00
Ville Skyttä
9f4de8df18
Make device entry disabled by an enum ( #60239 )
2021-11-24 22:32:16 +01:00
Ville Skyttä
39691faccc
Use DeviceEntryType in non-typechecked code too ( #58646 )
2021-11-23 10:04:33 +01:00
Erik Montnemery
e27e4c3561
Add support for device configuration URL ( #57539 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-10-14 11:16:56 -07:00
Ville Skyttä
470f2dd73f
Upgrade pyupgrade to 2.21.2, apply its changes ( #52987 )
2021-07-19 10:46:09 +02:00
Ville Skyttä
a396619251
Use disabled_by constants ( #49584 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-04-23 09:56:42 +02:00
Ville Skyttä
dc880118a4
Lint suppression cleanups ( #47248 )
...
* Unused pylint suppression cleanups
* Remove outdated pylint bug references
* Add flake8-noqa config and note to run it every now and then
* Add codes to noqa's
* Unused noqa cleanups
2021-03-02 09:02:04 +01:00
Erik Montnemery
dc8364fd3a
Support disabling devices ( #43293 )
2020-11-26 16:45:02 +01:00
Paulus Schoutsen
b3be708db6
Add default config if not there ( #43321 )
...
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-11-25 15:10:04 +01:00
Charles Garwood
49cbc9735c
Add identifiers to device registry api output ( #38427 )
2020-07-31 15:47:01 +02:00
Paulus Schoutsen
b90cb09fd1
Add type to device registry ( #35095 )
2020-05-03 13:56:58 -07:00
Bas Nijholt
f355570f17
use isort to sort imports according to PEP8 for config ( #29628 )
2019-12-08 22:27:28 +05:30
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Penny Wood
84e6813779
Rename via_hub to via_device ( #24360 )
...
* Rename via_hub to via_device
* Fixed registry interactions
2019-06-10 09:10:44 -07:00
David F. Mulcahey
c4400be62a
Add friendly name to devices in the device registry ( #21318 )
...
* add friendly name to devices in the device registry
* switch to name_by_user
* review comments
2019-02-26 12:20:16 -08:00
Robert Svensson
bd335e1ac1
Area registry ( #20435 )
...
* First draft of area registry
* Refactor based on input
* Add tests for areas
Add tests for updating device
* Updating a device shouldn't require area
* Fix Martins comment
* Require admin
* Save after deleting
* Rename read to list_areas
Fix device entry_dict
Remove area id from device when deleting area
* Fix tests
2019-01-28 15:52:42 -08:00
Paulus Schoutsen
da3342f1aa
Update new values coming in for dev registry ( #16852 )
...
* Update new values coming in for dev registry
* fix Lint+Test;2C
2018-09-27 11:26:58 +02:00
Paulus Schoutsen
b8257866f5
Clean up device update, add via-hub ( #16659 )
...
* Clean up device update, add via-hub
* Test loading/saving data
* Lint
* Add to Hue"
* Lint + tests
2018-09-17 13:39:30 +02:00
Paulus Schoutsen
05c0717167
Add websocket list APIs for the registries ( #16597 )
...
* Add websocket list APIs for the registries
* Remove identifiers
* Fix tests
* Use ordered dict
2018-09-14 11:57:18 +02:00