diff options
Diffstat (limited to 'docs/configuration.md')
-rw-r--r-- | docs/configuration.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/configuration.md b/docs/configuration.md index 8bff54f..5785e56 100644 --- a/docs/configuration.md +++ b/docs/configuration.md | |||
@@ -69,7 +69,7 @@ message: | |||
69 | # mapping: # allows to map fields from the remote format to the one expected by Homer | 69 | # mapping: # allows to map fields from the remote format to the one expected by Homer |
70 | # title: 'id' # use value from field 'id' as title | 70 | # title: 'id' # use value from field 'id' as title |
71 | # content: 'value' # value from field 'value' as content | 71 | # content: 'value' # value from field 'value' as content |
72 | # refreshInterval: 10000 # time interval to refresh message | 72 | # refreshInterval: 10000 # Optional: time interval to refresh message |
73 | # | 73 | # |
74 | # Real example using chucknorris.io for showing Chuck Norris facts as messages: | 74 | # Real example using chucknorris.io for showing Chuck Norris facts as messages: |
75 | # url: https://api.chucknorris.io/jokes/random | 75 | # url: https://api.chucknorris.io/jokes/random |
@@ -129,7 +129,7 @@ services: | |||
129 | # background: red # optional color for card to set color directly without custom stylesheet | 129 | # background: red # optional color for card to set color directly without custom stylesheet |
130 | ``` | 130 | ``` |
131 | 131 | ||
132 | If you choose to fetch message information from an endpoint, the output format should be: | 132 | If you choose to fetch message information from an endpoint, the output format should be as follows (or you can [custom map fields as shown in tips-and-tricks](./tips-and-tricks.md#mapping-fields)): |
133 | 133 | ||
134 | ```json | 134 | ```json |
135 | { | 135 | { |