Minimizing of the configuration sample (#1019)

This commit is contained in:
Fabian Affolter 2016-10-01 12:09:50 +02:00 committed by GitHub
parent 227d5a3f4f
commit 0bc1fc4e3c
7 changed files with 44 additions and 37 deletions

View file

@ -19,9 +19,16 @@ To enable the logbook in your installation, add the following to your `configura
# Example configuration.yaml entry
logbook:
```
Configuration variables:
- **exclude** (*Optional*): Configure which components should **not** create logbook enties.
- **entities** (*Optional*): The list of entity ids to be excluded from creating logbook entries.
- **domains** (*Optional*): The list of domains to be excluded from creating logbook entries.
If you want to exclude messages of some entities or domains from the logbook just add the `exclude` parameter like:
```yaml
# Example configuration.yaml entry
logbook:
exclude:
entities:
@ -32,12 +39,6 @@ logbook:
- weblink
```
Configuration variables:
- **exclude** (*Optional*): Configure which components should **not** create logbook enties.
- **entities** (*Optional*): The list of entity ids to be excluded from creating logbook entries.
- **domains** (*Optional*): The list of domains to be excluded from creating logbook entries.
### {% linkable_title Exclude Events %}
Entities customized as hidden are excluded from the logbook by default, but sometimes you want to show the entity in the UI and not in the logbook. For instance you use the `sensor.date`to show the current date in the UI, but you do not want an logbook entry for that sensor every day.