|
106 | 106 | translation_key="daily_rain", |
107 | 107 | native_unit_of_measurement=UnitOfPrecipitationDepth.INCHES, |
108 | 108 | device_class=SensorDeviceClass.PRECIPITATION, |
109 | | - state_class=SensorStateClass.TOTAL, |
| 109 | + state_class=SensorStateClass.TOTAL_INCREASING, |
110 | 110 | suggested_display_precision=2, |
111 | 111 | ), |
112 | 112 | SensorEntityDescription( |
|
150 | 150 | key=TYPE_LIGHTNING_PER_DAY, |
151 | 151 | translation_key="lightning_strikes_per_day", |
152 | 152 | native_unit_of_measurement="strikes", |
153 | | - state_class=SensorStateClass.TOTAL, |
| 153 | + state_class=SensorStateClass.TOTAL_INCREASING, |
154 | 154 | entity_registry_enabled_default=False, |
155 | 155 | ), |
156 | 156 | SensorEntityDescription( |
|
182 | 182 | translation_key="monthly_rain", |
183 | 183 | native_unit_of_measurement=UnitOfPrecipitationDepth.INCHES, |
184 | 184 | device_class=SensorDeviceClass.PRECIPITATION, |
185 | | - state_class=SensorStateClass.TOTAL, |
| 185 | + state_class=SensorStateClass.TOTAL_INCREASING, |
186 | 186 | suggested_display_precision=2, |
187 | 187 | entity_registry_enabled_default=False, |
188 | 188 | ), |
|
229 | 229 | translation_key="weekly_rain", |
230 | 230 | native_unit_of_measurement=UnitOfPrecipitationDepth.INCHES, |
231 | 231 | device_class=SensorDeviceClass.PRECIPITATION, |
232 | | - state_class=SensorStateClass.TOTAL, |
| 232 | + state_class=SensorStateClass.TOTAL_INCREASING, |
233 | 233 | suggested_display_precision=2, |
234 | 234 | entity_registry_enabled_default=False, |
235 | 235 | ), |
|
262 | 262 | translation_key="yearly_rain", |
263 | 263 | native_unit_of_measurement=UnitOfPrecipitationDepth.INCHES, |
264 | 264 | device_class=SensorDeviceClass.PRECIPITATION, |
265 | | - state_class=SensorStateClass.TOTAL, |
| 265 | + state_class=SensorStateClass.TOTAL_INCREASING, |
266 | 266 | suggested_display_precision=2, |
267 | 267 | entity_registry_enabled_default=False, |
268 | 268 | ), |
|
0 commit comments