Live card
Category: Weather. Tags: Weather and environment, Transit and travel.
Data and privacy
This card uses its configured properties and live card data.
Properties
For theme, background, accent, colour overrides and position, see Common properties.
Static properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
title | string | "Conditions" | maxLength: 40 | |
openLabel | string | "open" | maxLength: 16 | The word after the count: open, playable, swimmable. |
pageSeconds | integer | 10 | minimum: 4; maximum: 60 | When the groups do not fit, the seconds each page stays up. |
hour12 | boolean | false |
Dynamic properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
summary | string | "" | maxLength: 120 | The headline: Powder day, 24 cm new. |
updated | string | "" | maxLength: 32 | When the report was made, ISO 8601. |
facts | array | [] | minItems: 0; maxItems: 6 | The day's readings: Base 142 cm, Water 28°. |
facts[].label | string | minLength: 1; maxLength: 24; Required | ||
facts[].value | string | minLength: 1; maxLength: 16; Required | ||
facts[].detail | string | "" | maxLength: 24 | |
groups | array | [] | minItems: 0; maxItems: 8 | |
groups[].name | string | minLength: 1; maxLength: 120; Required | ||
groups[].items | array | minItems: 0; maxItems: 40; Required | ||
groups[].items[].name | string | minLength: 1; maxLength: 120; Required | ||
groups[].items[].status | string | "open" | "open", "limited", "hold", "scheduled", "closed" | |
groups[].items[].note | string | "" | maxLength: 80 | A line beside the name: Groomed, Expected 10:30, Wait 5 min. |
alert | string | "" | maxLength: 160 | A notice for everyone, shown in a band: Lightning in the area. |
footnote | string | "" | maxLength: 160 |
Example params
{
"theme": "neomustard"
}
screenrig card create --type conditions --major 1 --file params.json --context-file context.md
Example data
{
"summary": "",
"updated": "",
"facts": [],
"groups": [],
"alert": "",
"footnote": ""
}
Layouts
This fullscreen card fills the whole screen in landscape or portrait and is not placed as a corner, chip, or strip.
Layouts: full. Forms: landscape, portrait.
Use this card
Add this card to a playlist as in Publish a card canvas, place it with the layouts and anchors and update its data as in Write live values.