Big push for automation docs

This commit is contained in:
Paulus Schoutsen 2015-09-19 21:35:49 -07:00
parent ecf9f0d4a2
commit 278dd1a61f
11 changed files with 299 additions and 246 deletions

View file

@ -9,8 +9,10 @@ sharing: true
footer: true
---
<img src='/images/supported_brands/accessories-text-editor.png' class='brand pull-right' />
The logbook component provides a different perspective on the history of your house by showing all the changes that happened to your house in chronological order. [See the demo for a live example](/demo/).
<img src='/images/screenshots/logbook.png' style='margin-left:10px; float: right;' height="100" />
The logbook component provides a different perspective on the history of your house by showing all
the changes that happened to your house in reverse chronological order.
[See the demo for a live example](/demo/).
To enable the logbook in your installation, add the following to your `configuration.yaml` file:
@ -19,4 +21,19 @@ To enable the logbook in your installation, add the following to your `configura
logbook:
```
<img src='/images/screenshots/logbook.png' style='margin-left:10px; float: right;' height="100" />
It is possible to add custom entries to the logbook by using the script component to fire an event.
```
# Example configuration.yaml entry
script:
add_logbook_entry:
alias: Add Logbook
sequence:
- event: LOGBOOK_ENTRY
event_data:
name: Kitchen
message: is being used
# Optional
entity_id: light.kitchen
domain: light
```