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
| `showTemperature` | boolean | false | `false` \| `true` | Show temperature | 1.1.0 |
122
+
| `showLowTemperature` | boolean | false | `false` \| `true` | Show low temperature | 1.1.0 |
121
123
122
124
## Custom styling using cardmod
123
125
124
-
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.
126
+
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.
125
127
126
128
### Day classes
127
129
@@ -140,6 +142,17 @@ Like with most cards, you can add custom styling to this card using [card_mod](h
140
142
| `friday` | Day is a friday | 1.6.0 |
141
143
| `saturday` | Day is a saturday | 1.6.0 |
142
144
145
+
### Day data attributes
146
+
147
+
| Data attribute | Description | Version |
148
+
|----------------|--------------------|---------|
149
+
| `data-date` | The day number | 1.7.0 |
150
+
| `data-weekday` | The weekday number | 1.7.0 |
151
+
| `data-month` | The month number | 1.7.0 |
152
+
| `data-year` | The year | 1.7.0 |
153
+
| `data-week` | The week number | 1.7.0 |
154
+
155
+
143
156
### Event classes
144
157
145
158
| Class | Description | Version |
@@ -149,6 +162,19 @@ Like with most cards, you can add custom styling to this card using [card_mod](h
0 commit comments