Update README.md

This commit is contained in:
htmltiger 2021-12-01 14:31:08 +00:00 committed by GitHub
parent 6d213b30c4
commit 5916df5b7b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,9 +1,29 @@
Config Editor Card to edit configuration.yaml from dashboard
Automaticly searches for `*.yaml` in the root and subfolders and lists in the dropdown menu.
![screenshot](https://github.com/htmltiger/config-editor-card/raw/main/screenshot.png)
Please backup your files before using as there is no undo.
## Installation
### Step 1
You will also need to install a custom component https://github.com/htmltiger/config-editor
_Manual_
Download and copy `config_editor` directory in `custom_components`
_OR_ [HACS](https://hacs.xyz/) > Integration > `Config Editor`
edit configuration.yaml and add the following so it can load
```
config_editor:
```
### Step 2
Manually add config-editor-card.js
to your `<config>/www/` folder and add the following to the `configuration.yaml` file:
```yaml
@ -25,17 +45,9 @@ The above configuration can be managed directly in the Configuration -> Lovelace
or added by clicking the "Add to lovelace" button on the HACS dashboard after installing the plugin.
## Configuration
You will also need to install a custom component https://github.com/htmltiger/config-editor
edit configuration.yaml and add the following so it can load
```
config_editor:
```
For the dashboard, create a new tab in panel mode and add
For the dashboard, create a new tab in panel mode and add a card
```
type: custom:config-editor-card
```