mirror of
https://github.com/house-of-abbey/GarminHomeAssistant.git
synced 2026-03-13 05:16:44 +00:00
Markdown documentation linting
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
|
||||
Since [version 2.30](../History.md), it is possible to ovverride the text displayed on the Glance view. This page explains how to customise the text.
|
||||
|
||||
|
||||
## Default View
|
||||
|
||||
The default view has always been to display the status of the menu and API availability to indicate if there's a problem. This view has now been updated to be more colourful.
|
||||
@@ -13,7 +12,6 @@ The default view has always been to display the status of the menu and API avail
|
||||
|
||||
When either the API or the menu file is inaccessible, the fields will turn red.
|
||||
|
||||
|
||||
## Customised View
|
||||
|
||||
In order to customise the Glance view you need to add a `glance` field to the top level of the JSON menu file as illustrated here:
|
||||
@@ -68,7 +66,6 @@ It is possible to revert to the default glance content without deleting the temp
|
||||
|
||||
So the glance view object has a `type` field with two possible values: `info` and `status`. When the type is `status` the `content` field is not required.
|
||||
|
||||
|
||||
## Displayed Errors
|
||||
|
||||
The following shows the default glance when the menu file is not available at the specified URL.
|
||||
|
||||
Reference in New Issue
Block a user