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
| `name` | string | optional | Any text | Name of the calendar | 1.7.0 |
102
+
| `color` | string | optional | Any CSS color | Color used for events from the calendar | 1.0.0 |
103
+
| `icon` | string | optional | Any icon | Icon used for events from the calendar | 1.10.0 |
104
+
| `eventTitleField` | string | optional | Any text | Name of the title field for events (usually `summary`) | 1.11.0 |
105
+
| `filter` | string | optional | Any regular expression | Remove events that match the regular expression | 1.8.0 |
106
+
| `filterText` | string | optional | Any regular expression | Remove text from events | 1.10.0 |
107
+
| `replaceTitleText` | object | optional | See [Replace title text](#replace-title-text) | Replace title text | 1.12.0 |
108
+
| `hideInLegend` | boolean | false | `false` \| `true` | Do not show the calendar in the legend | 1.8.0 |
106
109
107
110
### Texts
108
111
@@ -146,6 +149,18 @@ By default, the columns are based on the width of the card. You can use these se
146
149
| `small` | number | optional | Any positive number | Number of columns when the card width is >= 640 pixels | 1.11.0 |
147
150
| `extraSmall` | number | optional | Any positive number | Number of columns when the card width is < 640 pixels | 1.11.0 |
148
151
152
+
### Replace title text
153
+
154
+
You can replace text in the title. For example:
155
+
156
+
```yaml
157
+
replaceTitleText:
158
+
"Search text": "Replace text"
159
+
"Foo": "Bar"
160
+
```
161
+
162
+
This will replace the text "Search text" with "Replace text" and "Foo" with "Bar". This option is not available in the visual editor.
163
+
149
164
## Custom styling using cardmod
150
165
151
166
Like with most cards, you can add custom styling to this card using [card_mod](https://github.com/thomasloven/lovelace-card-mod). To make it easier to add custom styles to days and/or events, there are several classes that days and events can have. Additionally, there are data attributes you can use in CSS selectors.
0 commit comments