epenet
98651cbd2e
Improve type hints in lovelace tests ( #121520 )
2024-07-08 14:04:11 +02:00
Marc Mueller
921430d497
Import Generator from collections.abc (3) ( #120916 )
2024-07-01 12:09:11 +02:00
Erik Montnemery
0ca3f25c57
Add WS command for subscribing to storage collection changes ( #119481 )
2024-06-18 16:15:42 +02:00
Erik Montnemery
e0378f79a4
Remove create_list from StorageCollectionWebsocket.async_setup ( #119508 )
2024-06-17 12:16:36 +02:00
Marc Mueller
33ed4fd862
Import Generator from typing_extensions (3) ( #118990 )
2024-06-06 17:28:59 +02:00
epenet
242ee04642
Improve type hints in tests (i-p) ( #118380 )
2024-05-30 08:47:08 +02:00
J. Nick Koston
2308ff2cbf
Add json cache to lovelace config ( #117843 )
2024-05-24 14:07:43 +02: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
Erik Montnemery
a16ea3d7bd
Deprecate the map integration ( #113215 )
...
* Deprecate the map integration
* Revert changes in DashboardsCollection._async_load_data
* Add option to allow single word in dashboard URL
* Update tests
* Translate title
* Add icon
* Improve test coverage
2024-03-14 14:04:41 +01:00
Erik Montnemery
9eea786411
Remove old migration from lovelace ( #113388 )
2024-03-14 10:43:55 +01:00
Marc Mueller
32f3f46542
Add empty line after module docstring (2) [tests.components] ( #112737 )
2024-03-08 19:16:21 +01:00
Marc Mueller
1722e23df8
Add empty line after module docstring [tests l-p] ( #112710 )
2024-03-08 14:55:15 +01:00
Erik Montnemery
5b55c7da5f
Remove logic converting empty or falsy YAML to empty dict ( #103912 )
...
* Correct logic converting empty YAML to empty dict
* Modify according to github comments
* Add load_yaml_dict helper
* Update check_config script
* Update tests
2023-12-05 18:08:11 +01:00
Paul Bottein
e0885ef109
Don't return resources in safe mode ( #102865 )
2023-10-27 11:30:37 +02:00
Erik Montnemery
c481fdb7d0
Rename safe mode to recovery mode ( #102580 )
2023-10-23 20:33:08 +02:00
epenet
ea11a30a35
Add type hints to integration tests (part 13) ( #87998 )
2023-02-13 14:38:37 +01:00
epenet
f75ac17554
Add type hints to integration tests (j-m) ( #87704 )
2023-02-08 19:06:59 +01:00
epenet
7ff23506fe
Use new enums in cast ( #77946 )
...
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2022-09-09 08:57:14 +02:00
J. Nick Koston
42c448c422
Add the ability to process integration platforms on demand ( #70174 )
2022-04-17 00:23:00 -10:00
Franck Nijhof
171c58fed2
Rename Lovelace to Dashboards ( #68346 )
2022-03-18 23:29:57 +01:00
Paulus Schoutsen
157276f4e6
Add a Lovelace cast platform ( #65401 )
2022-02-03 13:43:23 -08:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
Paulus Schoutsen
7719e878f9
Migrate system health to use integration_platform ( #42785 )
2020-11-03 14:28:55 +01:00
Paulus Schoutsen
2af984917e
Use asynctest-mock in most places ( #35109 )
...
* Use asynctest-mock in most places
* Fix broken patch in pilight
2020-05-03 11:27:19 -07:00
Paulus Schoutsen
ec47216388
Use built-in test helpers on 3.8 ( #34901 )
2020-04-30 13:29:50 -07:00
Bram Kragten
1477087c71
Fix Lovelace resources health info ( #33309 )
...
* Fix Lovelace resources health info
* Fix tests
2020-03-28 13:57:36 +01:00
Bram Kragten
2f1824774f
Lovelace: storage key based on id instead of url_path ( #32873 )
...
* Fix storage key based on url_path
* Fix test
2020-03-16 20:08:00 +01:00
Bram Kragten
f4bf66aecd
Require a hyphen in lovelace dashboard url ( #32816 )
...
* Require a hyphen in lovelace dashboard url
* Keep storage dashboards working
* register during startup again
* Update homeassistant/components/lovelace/dashboard.py
Co-Authored-By: Paulus Schoutsen <balloob@gmail.com>
* Comments
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-03-15 11:50:23 -07:00
Bram Kragten
6bd55011a8
Check if panel url used and delay dashboard reg till start ( #32771 )
...
* Check if panel url used and delay dashboard reg till start
* move storage_dashboard_changed
* fix tests
2020-03-13 11:55:53 -07:00
Paulus Schoutsen
7c51318861
Require title, separate show sidebar option ( #32479 )
...
* Require title, separate show sidebar option
* Fix list command not updating
* Some more test checks
2020-03-05 11:52:12 -08:00
Paulus Schoutsen
deda2f86e7
Allow managing Lovelace storage dashboards ( #32241 )
...
* Allow managing Lovelace storage dashboards
* Make sure we do not allow duplicate url paths
* Allow setting sidebar to None
* Fix tests
* Delete storage file on delete
* List all dashboards
2020-02-28 12:43:17 -08:00
Paulus Schoutsen
601f2c693d
Prevent saving/deleting Lovelace config in safe mode ( #32319 )
2020-02-28 11:12:16 -08:00
Paulus Schoutsen
483d822272
Lovelace resource mgmt ( #32224 )
...
* Add websockets commands for resource management
* Add LL resource management
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-02-26 16:43:34 -08:00
Paulus Schoutsen
536b31305a
Support multiple Lovelace dashboards ( #32134 )
...
* Support multiple Lovelace dashboards
* Mark collection maintenance as unfinished
* Fix import
* Add websockets commands for resource management
* Revert "Add websockets commands for resource management"
This reverts commit 7d140b2bcc
.
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-02-25 11:18:21 -08:00
Paulus Schoutsen
beee1298c5
Extend safe mode ( #31927 )
...
* Extend safe mode
* Add safe mode boolean to config JSON output and default Lovelace
* Add safe mode to frontend
* Update accent color
2020-02-18 11:52:38 -08:00
Bram Kragten
16199b7a52
Add command to delete lovelace config ( #30558 )
...
* Add command to delete lovelace config
* Test + decorator for WS
2020-01-07 22:59:04 +01:00
Bas Nijholt
1dea0c9e34
Sort imports according to PEP8 for components starting with "L" ( #29771 )
2019-12-09 14:22:30 +01:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Paulus Schoutsen
9efb759a98
Fire lovelace updated event when update detected ( #25507 )
2019-07-26 20:30:51 -07:00
Paulus Schoutsen
e2cc1564a0
Add lovelace systeam health ( #20592 )
2019-01-30 12:57:56 -08:00
Paulus Schoutsen
5580bec1d3
Calling save before load would crash Lovelace storage ( #20368 )
2019-01-23 21:13:55 -08:00
Paulus Schoutsen
da338f2c1a
Fix lovelace save ( #19162 )
2018-12-10 12:25:08 +01:00
Paulus Schoutsen
a521b885bf
Lovelace using storage ( #19101 )
...
* Add MVP
* Remove unused code
* Fix
* Add force back
* Fix tests
* Storage keyed
* Error out when storage doesnt find config
* Use old load_yaml
* Set config for panel correct
* Use instance cache var
* Make config option
2018-12-10 08:57:17 +01:00
Bram Kragten
4163889c6b
Add view commands to Lovelace ( #18063 )
...
* Add get and update view command
* Add add view command
* Add move view command
* Add delete command
* lint
2018-11-01 09:44:38 +01:00
Bram Kragten
b763c0f902
Extract ruamel.yaml to util with secrets, lovelace ws decorators ( #17958 )
...
* Extract ruamel.yaml to util, ws decorators, secrets
* lint
* Extend SafeConstructor
Somehow my last commit is gone after rebase...
* lint
* Woof...
* Woof woof...
* Cleanup type hints
* Update homeassistant/scripts/check_config.py
* lint
* typing
2018-10-31 13:49:54 +01:00
Paulus Schoutsen
9cd8a86eb4
Move migrate to separate WS command ( #17890 )
2018-10-27 23:51:40 +02:00
Bram Kragten
3175627363
Add delete command ( #17816 )
2018-10-26 17:29:33 +02:00
Bram Kragten
b7896491e3
Lovelace ws: add move command ( #17806 )
...
* Check for unique ids + ids are strings
* Add move command
* Add test for move
* lint
* more lint
* Address comments
* Update test
2018-10-26 12:56:14 +02:00
Paulus Schoutsen
08fe7c3ece
Pytest tests ( #17750 )
...
* Convert core tests
* Convert component tests to use pytest assert
* Lint 🤷♂️
* Fix test
* Fix 3 typos in docs
2018-10-24 12:10:05 +02:00