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
Bram Kragten
0f69be117f
Lovelace ws: add card ( #17730 )
...
* Change set to update
* Add 'add card'
* Woof.
2018-10-23 21:48:35 +02:00
Bram Kragten
96105ef6e7
Add lovelace websocket get and set card ( #17600 )
...
* Add ws get, set card
* lint+fix test
* Add test for set
* Added more tests, catch unsupported yaml constructors
Like !include will now give an error in the frontend.
* lint
2018-10-22 14:45:13 +02:00
Bram Kragten
33860bf23c
Adding id to lovelace cards in ui-lovelace.yaml ( #17498 )
...
* ID is added to cards without ID in ui-lovelace.yaml when loaded
* Hound
* Remove ui-lovelace.yaml
* Nicer get
* Update tests
* If YAML dump fails, config not gone
* Add tests
* Woof!
* Remove nosetests
* Address comments
* Woof...
* Delete test.yaml
* update rights to saved file
* fix
* line break
2018-10-17 16:31:06 +02:00
Paulus Schoutsen
22a80cf733
Break up websocket component ( #17003 )
...
* Break up websocket component
* Lint
2018-10-01 11:21:00 +02:00
Paulus Schoutsen
e78f4d1b65
Extract lovelace to it's own component ( #16816 )
...
* Extract lovelace to it's own component
* Lint
* Update comment
* Lint
* Lint
2018-09-25 08:39:35 +02:00