You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 22, 2024. It is now read-only.
| type | string | **Required** | Should be `custom:weather-chart-card` |
30
+
| entity | string | **Required** | An entity_id with the `weather` domain |
31
+
| title | string | none | Card title |
32
+
| show_main | boolean | true | Show or hide a section with current weather condition and temperature |
33
+
| show_attributes | boolean | true | Show or hide a section with attributes such as pressure, humidity, wind direction and speed, etc |
34
+
| icons | string | none | Path to the location of custom icons in svg format, for example `/local/weather-icons/` |
35
+
| icons_size | number | 25 | The size of custom icons in pixels |
36
+
| units | object | none | See [units of measurement](#units-of-measurement) for available options |
37
+
| temp1_color | string | rgba(230, 100, 100, 1.0) | Temperature first line chart color |
38
+
| temp2_color | string | rgba(68, 115, 158, 1.0) | Temperature second line chart color |
39
+
| precip_color | string | rgba(132, 209, 253, 1.0) | Precipitation bar chart color |
40
+
| max_chart_lookahead | number | 0 | Desired lookahead elements for forecast chart. Default is fist `n` elements based on card width.\* |
41
+
42
+
\* For the `forecast` in your `entity` object, the maximum number of elements to look ahead to display on the chart that will fit within your card's width swapping granularity for lookahead time. For example, if you have 24 hours of hourly weather in your weather entity, set this value to 18, and your card can display 8 elements, your chart would display 8 elemnts at 2 hour intervals dropping the last 2 hourlies in the desired window, but making sure to display as much data as possible.
0 commit comments