feat: Add hardened error handling and retries (#2451)
- Closes #1830 - Closes #2099
This commit is contained in:
committed by
dermotduffy
parent
4bc787e2b7
commit
47bcce93d3
@@ -361,14 +361,17 @@ advanced_camera_card_action: notification
|
||||
|
||||
### `notification`
|
||||
|
||||
| Parameter | Description |
|
||||
| ---------- | ------------------------------------------------------------------------------------- |
|
||||
| `heading` | An optional heading. Uses the same format as [`details`](README.md?id=details) below. |
|
||||
| `text` | An optional text string to display as the notification body. |
|
||||
| `details` | An optional list of metadata. See [`details`](README.md?id=details) below. |
|
||||
| `controls` | An optional list of controls. See [`controls`](README.md?id=controls) below. |
|
||||
| Parameter | Description |
|
||||
| ------------- | ---------------------------------------------------------------------------------------------------------- |
|
||||
| `heading` | An optional heading. Uses the same format as [`metadata`](README.md?id=metadata) below. |
|
||||
| `body` | An optional body. Uses the same format as [`metadata`](README.md?id=metadata) below. |
|
||||
| `metadata` | An optional list of metadata to show with the notification. See [`metadata`](README.md?id=metadata) below. |
|
||||
| `context` | An optional list of preformatted text strings shown as a technical detail block (e.g. YAML). |
|
||||
| `link` | An optional link displayed below the body. See [`link`](#link) below. |
|
||||
| `in_progress` | If `true`, shows a loading indicator. |
|
||||
| `controls` | An optional list of controls. See [`controls`](README.md?id=controls) below. |
|
||||
|
||||
### Details
|
||||
### Metadata
|
||||
|
||||
| Parameter | Description |
|
||||
| ---------- | ------------------------------------------------------------- |
|
||||
@@ -377,6 +380,13 @@ advanced_camera_card_action: notification
|
||||
| `tooltip` | An optional tooltip string (shown on hover). |
|
||||
| `severity` | An optional severity level, one of `low`, `medium` or `high`. |
|
||||
|
||||
### Link
|
||||
|
||||
| Parameter | Description |
|
||||
| --------- | ------------------------------------ |
|
||||
| `url` | The link URL. |
|
||||
| `title` | The link text displayed to the user. |
|
||||
|
||||
### Controls
|
||||
|
||||
| Parameter | Default | Description |
|
||||
|
||||
Reference in New Issue
Block a user