meteocat 2.1.0 → 2.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/custom_components/meteocat/__init__.py +15 -1
- package/custom_components/meteocat/config_flow.py +112 -1
- package/custom_components/meteocat/const.py +10 -0
- package/custom_components/meteocat/coordinator.py +303 -7
- package/custom_components/meteocat/manifest.json +2 -2
- package/custom_components/meteocat/options_flow.py +30 -4
- package/custom_components/meteocat/sensor.py +243 -2
- package/custom_components/meteocat/strings.json +151 -4
- package/custom_components/meteocat/translations/ca.json +151 -4
- package/custom_components/meteocat/translations/en.json +151 -4
- package/custom_components/meteocat/translations/es.json +151 -4
- package/custom_components/meteocat/version.py +1 -1
- package/package.json +1 -1
- package/poetry.lock +4 -4
- package/pyproject.toml +3 -3
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
22
|
"set_api_limits": {
|
|
23
|
-
"description": "Defineix els límits del pla de l'API
|
|
23
|
+
"description": "Defineix els límits del pla de l'API.",
|
|
24
24
|
"title": "API límits"
|
|
25
25
|
}
|
|
26
26
|
},
|
|
@@ -36,18 +36,18 @@
|
|
|
36
36
|
"options": {
|
|
37
37
|
"step":{
|
|
38
38
|
"init": {
|
|
39
|
-
"description": "Configura l'API Key i els límits de l'API
|
|
39
|
+
"description": "Configura l'API Key i els límits de l'API.",
|
|
40
40
|
"title": "Opcions de configuració",
|
|
41
41
|
"data": {
|
|
42
42
|
"option": "Opcions"
|
|
43
43
|
}
|
|
44
44
|
},
|
|
45
45
|
"update_api_and_limits": {
|
|
46
|
-
"description": "Configura l'API Key i els límits
|
|
46
|
+
"description": "Configura l'API Key i els límits de l'API.",
|
|
47
47
|
"title": "API Key i límits"
|
|
48
48
|
},
|
|
49
49
|
"update_limits_only": {
|
|
50
|
-
"description": "Configura els límits
|
|
50
|
+
"description": "Configura els límits de l'API.",
|
|
51
51
|
"title": "Límits de l'API"
|
|
52
52
|
}
|
|
53
53
|
},
|
|
@@ -225,6 +225,153 @@
|
|
|
225
225
|
}
|
|
226
226
|
}
|
|
227
227
|
},
|
|
228
|
+
"quota_file_status": {
|
|
229
|
+
"name": "Arxiu Quota",
|
|
230
|
+
"state": {
|
|
231
|
+
"updated": "Actualitzat",
|
|
232
|
+
"obsolete": "Obsolet"
|
|
233
|
+
},
|
|
234
|
+
"state_attributes": {
|
|
235
|
+
"update_date": {
|
|
236
|
+
"name": "Data"
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
"quota_xdde": {
|
|
241
|
+
"name": "Quota XDDE",
|
|
242
|
+
"state": {
|
|
243
|
+
"ok": "Ok",
|
|
244
|
+
"exceeded": "Superada",
|
|
245
|
+
"unknown": "Desconegut"
|
|
246
|
+
},
|
|
247
|
+
"state_attributes": {
|
|
248
|
+
"period": {
|
|
249
|
+
"name": "Periode",
|
|
250
|
+
"state": {
|
|
251
|
+
"weekly": "Setmanal",
|
|
252
|
+
"monthly": "Mensual",
|
|
253
|
+
"annual": "Anual"
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
"max_queries": {
|
|
257
|
+
"name": "Màxim"
|
|
258
|
+
},
|
|
259
|
+
"remain_queries": {
|
|
260
|
+
"name": "Restants"
|
|
261
|
+
},
|
|
262
|
+
"made_queries": {
|
|
263
|
+
"name": "Realitzades"
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
"quota_prediccio": {
|
|
268
|
+
"name": "Quota Predicció",
|
|
269
|
+
"state": {
|
|
270
|
+
"ok": "Ok",
|
|
271
|
+
"exceeded": "Superada",
|
|
272
|
+
"unknown": "Desconegut"
|
|
273
|
+
},
|
|
274
|
+
"state_attributes": {
|
|
275
|
+
"period": {
|
|
276
|
+
"name": "Periode",
|
|
277
|
+
"state": {
|
|
278
|
+
"weekly": "Setmanal",
|
|
279
|
+
"monthly": "Mensual",
|
|
280
|
+
"annual": "Anual"
|
|
281
|
+
}
|
|
282
|
+
},
|
|
283
|
+
"max_queries": {
|
|
284
|
+
"name": "Màxim"
|
|
285
|
+
},
|
|
286
|
+
"remain_queries": {
|
|
287
|
+
"name": "Restants"
|
|
288
|
+
},
|
|
289
|
+
"made_queries": {
|
|
290
|
+
"name": "Realitzades"
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
"quota_basic": {
|
|
295
|
+
"name": "Quota Bàsica",
|
|
296
|
+
"state": {
|
|
297
|
+
"ok": "Ok",
|
|
298
|
+
"exceeded": "Superada",
|
|
299
|
+
"unknown": "Desconegut"
|
|
300
|
+
},
|
|
301
|
+
"state_attributes": {
|
|
302
|
+
"period": {
|
|
303
|
+
"name": "Periode",
|
|
304
|
+
"state": {
|
|
305
|
+
"weekly": "Setmanal",
|
|
306
|
+
"monthly": "Mensual",
|
|
307
|
+
"annual": "Anual"
|
|
308
|
+
}
|
|
309
|
+
},
|
|
310
|
+
"max_queries": {
|
|
311
|
+
"name": "Màxim"
|
|
312
|
+
},
|
|
313
|
+
"remain_queries": {
|
|
314
|
+
"name": "Restants"
|
|
315
|
+
},
|
|
316
|
+
"made_queries": {
|
|
317
|
+
"name": "Realitzades"
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
},
|
|
321
|
+
"quota_xema": {
|
|
322
|
+
"name": "Quota XEMA",
|
|
323
|
+
"state": {
|
|
324
|
+
"ok": "Ok",
|
|
325
|
+
"exceeded": "Superada",
|
|
326
|
+
"unknown": "Desconegut"
|
|
327
|
+
},
|
|
328
|
+
"state_attributes": {
|
|
329
|
+
"period": {
|
|
330
|
+
"name": "Periode",
|
|
331
|
+
"state": {
|
|
332
|
+
"weekly": "Setmanal",
|
|
333
|
+
"monthly": "Mensual",
|
|
334
|
+
"annual": "Anual"
|
|
335
|
+
}
|
|
336
|
+
},
|
|
337
|
+
"max_queries": {
|
|
338
|
+
"name": "Màxim"
|
|
339
|
+
},
|
|
340
|
+
"remain_queries": {
|
|
341
|
+
"name": "Restants"
|
|
342
|
+
},
|
|
343
|
+
"made_queries": {
|
|
344
|
+
"name": "Realitzades"
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
"quota_queries": {
|
|
349
|
+
"name": "Quota Consultes",
|
|
350
|
+
"state": {
|
|
351
|
+
"ok": "Ok",
|
|
352
|
+
"exceeded": "Superada",
|
|
353
|
+
"unknown": "Desconegut"
|
|
354
|
+
},
|
|
355
|
+
"state_attributes": {
|
|
356
|
+
"period": {
|
|
357
|
+
"name": "Periode",
|
|
358
|
+
"state": {
|
|
359
|
+
"weekly": "Setmanal",
|
|
360
|
+
"monthly": "Mensual",
|
|
361
|
+
"annual": "Anual"
|
|
362
|
+
}
|
|
363
|
+
},
|
|
364
|
+
"max_queries": {
|
|
365
|
+
"name": "Màxim"
|
|
366
|
+
},
|
|
367
|
+
"remain_queries": {
|
|
368
|
+
"name": "Restants"
|
|
369
|
+
},
|
|
370
|
+
"made_queries": {
|
|
371
|
+
"name": "Realitzades"
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
},
|
|
228
375
|
"alerts": {
|
|
229
376
|
"name": "Alertes",
|
|
230
377
|
"state_attributes": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
22
|
"set_api_limits": {
|
|
23
|
-
"description": "Set the API limits
|
|
23
|
+
"description": "Set the API limits.",
|
|
24
24
|
"title": "API limits"
|
|
25
25
|
}
|
|
26
26
|
},
|
|
@@ -36,18 +36,18 @@
|
|
|
36
36
|
"options": {
|
|
37
37
|
"step":{
|
|
38
38
|
"init": {
|
|
39
|
-
"description": "Setup the API Key and the limits
|
|
39
|
+
"description": "Setup the API Key and the API limits.",
|
|
40
40
|
"title": "Setup options",
|
|
41
41
|
"data": {
|
|
42
42
|
"option": "Options"
|
|
43
43
|
}
|
|
44
44
|
},
|
|
45
45
|
"update_api_and_limits": {
|
|
46
|
-
"description": "Setup the API Key and the limits
|
|
46
|
+
"description": "Setup the API Key and the API limits.",
|
|
47
47
|
"title": "API Key and limits"
|
|
48
48
|
},
|
|
49
49
|
"update_limits_only": {
|
|
50
|
-
"description": "Setup the limits
|
|
50
|
+
"description": "Setup the API limits.",
|
|
51
51
|
"title": "API limits"
|
|
52
52
|
}
|
|
53
53
|
},
|
|
@@ -225,6 +225,153 @@
|
|
|
225
225
|
}
|
|
226
226
|
}
|
|
227
227
|
},
|
|
228
|
+
"quota_file_status": {
|
|
229
|
+
"name": "Quota File",
|
|
230
|
+
"state": {
|
|
231
|
+
"updated": "Updated",
|
|
232
|
+
"obsolete": "Obsolete"
|
|
233
|
+
},
|
|
234
|
+
"state_attributes": {
|
|
235
|
+
"update_date": {
|
|
236
|
+
"name": "Date"
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
"quota_xdde": {
|
|
241
|
+
"name": "Quota XDDE",
|
|
242
|
+
"state": {
|
|
243
|
+
"ok": "Ok",
|
|
244
|
+
"exceeded": "Exceeded",
|
|
245
|
+
"unknown": "Unknown"
|
|
246
|
+
},
|
|
247
|
+
"state_attributes": {
|
|
248
|
+
"period": {
|
|
249
|
+
"name": "Period",
|
|
250
|
+
"state": {
|
|
251
|
+
"weekly": "Weekly",
|
|
252
|
+
"monthly": "Monthly",
|
|
253
|
+
"annual": "Annual"
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
"max_queries": {
|
|
257
|
+
"name": "Max Queries"
|
|
258
|
+
},
|
|
259
|
+
"remain_queries": {
|
|
260
|
+
"name": "Remaining"
|
|
261
|
+
},
|
|
262
|
+
"made_queries": {
|
|
263
|
+
"name": "Made"
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
"quota_prediccio": {
|
|
268
|
+
"name": "Quota Prediction",
|
|
269
|
+
"state": {
|
|
270
|
+
"ok": "Ok",
|
|
271
|
+
"exceeded": "Exceeded",
|
|
272
|
+
"unknown": "Unknown"
|
|
273
|
+
},
|
|
274
|
+
"state_attributes": {
|
|
275
|
+
"period": {
|
|
276
|
+
"name": "Period",
|
|
277
|
+
"state": {
|
|
278
|
+
"weekly": "Weekly",
|
|
279
|
+
"monthly": "Monthly",
|
|
280
|
+
"annual": "Annual"
|
|
281
|
+
}
|
|
282
|
+
},
|
|
283
|
+
"max_queries": {
|
|
284
|
+
"name": "Max Queries"
|
|
285
|
+
},
|
|
286
|
+
"remain_queries": {
|
|
287
|
+
"name": "Remaining"
|
|
288
|
+
},
|
|
289
|
+
"made_queries": {
|
|
290
|
+
"name": "Made"
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
"quota_basic": {
|
|
295
|
+
"name": "Quota Basic",
|
|
296
|
+
"state": {
|
|
297
|
+
"ok": "Ok",
|
|
298
|
+
"exceeded": "Exceeded",
|
|
299
|
+
"unknown": "Unknown"
|
|
300
|
+
},
|
|
301
|
+
"state_attributes": {
|
|
302
|
+
"period": {
|
|
303
|
+
"name": "Period",
|
|
304
|
+
"state": {
|
|
305
|
+
"weekly": "Weekly",
|
|
306
|
+
"monthly": "Monthly",
|
|
307
|
+
"annual": "Annual"
|
|
308
|
+
}
|
|
309
|
+
},
|
|
310
|
+
"max_queries": {
|
|
311
|
+
"name": "Max Queries"
|
|
312
|
+
},
|
|
313
|
+
"remain_queries": {
|
|
314
|
+
"name": "Remaining"
|
|
315
|
+
},
|
|
316
|
+
"made_queries": {
|
|
317
|
+
"name": "Made"
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
},
|
|
321
|
+
"quota_xema": {
|
|
322
|
+
"name": "Quota XEMA",
|
|
323
|
+
"state": {
|
|
324
|
+
"ok": "Ok",
|
|
325
|
+
"exceeded": "Exceeded",
|
|
326
|
+
"unknown": "Unknown"
|
|
327
|
+
},
|
|
328
|
+
"state_attributes": {
|
|
329
|
+
"period": {
|
|
330
|
+
"name": "Period",
|
|
331
|
+
"state": {
|
|
332
|
+
"weekly": "Weekly",
|
|
333
|
+
"monthly": "Monthly",
|
|
334
|
+
"annual": "Annual"
|
|
335
|
+
}
|
|
336
|
+
},
|
|
337
|
+
"max_queries": {
|
|
338
|
+
"name": "Max Queries"
|
|
339
|
+
},
|
|
340
|
+
"remain_queries": {
|
|
341
|
+
"name": "Remaining"
|
|
342
|
+
},
|
|
343
|
+
"made_queries": {
|
|
344
|
+
"name": "Made"
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
"quota_queries": {
|
|
349
|
+
"name": "Quota Queries",
|
|
350
|
+
"state": {
|
|
351
|
+
"ok": "Ok",
|
|
352
|
+
"exceeded": "Exceeded",
|
|
353
|
+
"unknown": "Unknown"
|
|
354
|
+
},
|
|
355
|
+
"state_attributes": {
|
|
356
|
+
"period": {
|
|
357
|
+
"name": "Period",
|
|
358
|
+
"state": {
|
|
359
|
+
"weekly": "Weekly",
|
|
360
|
+
"monthly": "Monthly",
|
|
361
|
+
"annual": "Annual"
|
|
362
|
+
}
|
|
363
|
+
},
|
|
364
|
+
"max_queries": {
|
|
365
|
+
"name": "Max Queries"
|
|
366
|
+
},
|
|
367
|
+
"remain_queries": {
|
|
368
|
+
"name": "Remaining"
|
|
369
|
+
},
|
|
370
|
+
"made_queries": {
|
|
371
|
+
"name": "Made"
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
},
|
|
228
375
|
"alerts": {
|
|
229
376
|
"name": "Alerts",
|
|
230
377
|
"state_attributes": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
22
|
"set_api_limits": {
|
|
23
|
-
"description": "Define los límites del plan de la API
|
|
23
|
+
"description": "Define los límites del plan de la API.",
|
|
24
24
|
"title": "API límites"
|
|
25
25
|
}
|
|
26
26
|
},
|
|
@@ -36,18 +36,18 @@
|
|
|
36
36
|
"options": {
|
|
37
37
|
"step":{
|
|
38
38
|
"init": {
|
|
39
|
-
"description": "Configura el API Key y los límites de la API
|
|
39
|
+
"description": "Configura el API Key y los límites de la API.",
|
|
40
40
|
"title": "Opciones de configuración",
|
|
41
41
|
"data": {
|
|
42
42
|
"option": "Opciones"
|
|
43
43
|
}
|
|
44
44
|
},
|
|
45
45
|
"update_api_and_limits": {
|
|
46
|
-
"description": "Configura el API Key y los límites
|
|
46
|
+
"description": "Configura el API Key y los límites de la API.",
|
|
47
47
|
"title": "API Key y límites"
|
|
48
48
|
},
|
|
49
49
|
"update_limits_only": {
|
|
50
|
-
"description": "Configura los límites
|
|
50
|
+
"description": "Configura los límites de la API.",
|
|
51
51
|
"title": "Límites de la API"
|
|
52
52
|
}
|
|
53
53
|
},
|
|
@@ -225,6 +225,153 @@
|
|
|
225
225
|
}
|
|
226
226
|
}
|
|
227
227
|
},
|
|
228
|
+
"quota_file_status": {
|
|
229
|
+
"name": "Archivo Cuota",
|
|
230
|
+
"state": {
|
|
231
|
+
"updated": "Actualizado",
|
|
232
|
+
"obsolete": "Obsoleto"
|
|
233
|
+
},
|
|
234
|
+
"state_attributes": {
|
|
235
|
+
"update_date": {
|
|
236
|
+
"name": "Fecha"
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
"quota_xdde": {
|
|
241
|
+
"name": "Cuota XDDE",
|
|
242
|
+
"state": {
|
|
243
|
+
"ok": "Ok",
|
|
244
|
+
"exceeded": "Superada",
|
|
245
|
+
"unknown": "Desconocido"
|
|
246
|
+
},
|
|
247
|
+
"state_attributes": {
|
|
248
|
+
"period": {
|
|
249
|
+
"name": "Periodo",
|
|
250
|
+
"state": {
|
|
251
|
+
"weekly": "Semanal",
|
|
252
|
+
"monthly": "Mensual",
|
|
253
|
+
"annual": "Anual"
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
"max_queries": {
|
|
257
|
+
"name": "Máximo"
|
|
258
|
+
},
|
|
259
|
+
"remain_queries": {
|
|
260
|
+
"name": "Restantes"
|
|
261
|
+
},
|
|
262
|
+
"made_queries": {
|
|
263
|
+
"name": "Realizadas"
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
"quota_prediccio": {
|
|
268
|
+
"name": "Cuota Predicción",
|
|
269
|
+
"state": {
|
|
270
|
+
"ok": "Ok",
|
|
271
|
+
"exceeded": "Superada",
|
|
272
|
+
"unknown": "Desconocido"
|
|
273
|
+
},
|
|
274
|
+
"state_attributes": {
|
|
275
|
+
"period": {
|
|
276
|
+
"name": "Periodo",
|
|
277
|
+
"state": {
|
|
278
|
+
"weekly": "Semanal",
|
|
279
|
+
"monthly": "Mensual",
|
|
280
|
+
"annual": "Anual"
|
|
281
|
+
}
|
|
282
|
+
},
|
|
283
|
+
"max_queries": {
|
|
284
|
+
"name": "Máximo"
|
|
285
|
+
},
|
|
286
|
+
"remain_queries": {
|
|
287
|
+
"name": "Restantes"
|
|
288
|
+
},
|
|
289
|
+
"made_queries": {
|
|
290
|
+
"name": "Realizadas"
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
"quota_basic": {
|
|
295
|
+
"name": "Cuota Básica",
|
|
296
|
+
"state": {
|
|
297
|
+
"ok": "Ok",
|
|
298
|
+
"exceeded": "Superada",
|
|
299
|
+
"unknown": "Desconocido"
|
|
300
|
+
},
|
|
301
|
+
"state_attributes": {
|
|
302
|
+
"period": {
|
|
303
|
+
"name": "Periodo",
|
|
304
|
+
"state": {
|
|
305
|
+
"weekly": "Semanal",
|
|
306
|
+
"monthly": "Mensual",
|
|
307
|
+
"annual": "Anual"
|
|
308
|
+
}
|
|
309
|
+
},
|
|
310
|
+
"max_queries": {
|
|
311
|
+
"name": "Máximo"
|
|
312
|
+
},
|
|
313
|
+
"remain_queries": {
|
|
314
|
+
"name": "Restantes"
|
|
315
|
+
},
|
|
316
|
+
"made_queries": {
|
|
317
|
+
"name": "Realizadas"
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
},
|
|
321
|
+
"quota_xema": {
|
|
322
|
+
"name": "Cuota XEMA",
|
|
323
|
+
"state": {
|
|
324
|
+
"ok": "Ok",
|
|
325
|
+
"exceeded": "Superada",
|
|
326
|
+
"unknown": "Desconocido"
|
|
327
|
+
},
|
|
328
|
+
"state_attributes": {
|
|
329
|
+
"period": {
|
|
330
|
+
"name": "Periodo",
|
|
331
|
+
"state": {
|
|
332
|
+
"weekly": "Semanal",
|
|
333
|
+
"monthly": "Mensual",
|
|
334
|
+
"annual": "Anual"
|
|
335
|
+
}
|
|
336
|
+
},
|
|
337
|
+
"max_queries": {
|
|
338
|
+
"name": "Máximo"
|
|
339
|
+
},
|
|
340
|
+
"remain_queries": {
|
|
341
|
+
"name": "Restantes"
|
|
342
|
+
},
|
|
343
|
+
"made_queries": {
|
|
344
|
+
"name": "Realizadas"
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
"quota_queries": {
|
|
349
|
+
"name": "Cuota Consultas",
|
|
350
|
+
"state": {
|
|
351
|
+
"ok": "Ok",
|
|
352
|
+
"exceeded": "Superada",
|
|
353
|
+
"unknown": "Desconocido"
|
|
354
|
+
},
|
|
355
|
+
"state_attributes": {
|
|
356
|
+
"period": {
|
|
357
|
+
"name": "Periodo",
|
|
358
|
+
"state": {
|
|
359
|
+
"weekly": "Semanal",
|
|
360
|
+
"monthly": "Mensual",
|
|
361
|
+
"annual": "Anual"
|
|
362
|
+
}
|
|
363
|
+
},
|
|
364
|
+
"max_queries": {
|
|
365
|
+
"name": "Máximo"
|
|
366
|
+
},
|
|
367
|
+
"remain_queries": {
|
|
368
|
+
"name": "Restantes"
|
|
369
|
+
},
|
|
370
|
+
"made_queries": {
|
|
371
|
+
"name": "Realizadas"
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
},
|
|
228
375
|
"alerts": {
|
|
229
376
|
"name": "Alertas",
|
|
230
377
|
"state_attributes": {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
# version.py
|
|
2
|
-
__version__ = "2.
|
|
2
|
+
__version__ = "2.2.2"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "meteocat",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.2",
|
|
4
4
|
"description": "[](https://opensource.org/licenses/Apache-2.0)\r [](https://pypi.org/project/meteocat)\r [](https://gitlab.com/figorr/meteocat/commits/master)",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"directories": {
|
package/poetry.lock
CHANGED
|
@@ -2230,13 +2230,13 @@ yaml = ["PyYaml (>=6.0.1)"]
|
|
|
2230
2230
|
|
|
2231
2231
|
[[package]]
|
|
2232
2232
|
name = "python-semantic-release"
|
|
2233
|
-
version = "9.
|
|
2233
|
+
version = "9.17.0"
|
|
2234
2234
|
description = "Automatic Semantic Versioning for Python projects"
|
|
2235
2235
|
optional = false
|
|
2236
2236
|
python-versions = ">=3.8"
|
|
2237
2237
|
files = [
|
|
2238
|
-
{file = "python_semantic_release-9.
|
|
2239
|
-
{file = "python_semantic_release-9.
|
|
2238
|
+
{file = "python_semantic_release-9.17.0-py3-none-any.whl", hash = "sha256:1150450c78137c5c49cad89a6f039d30dca3404f964e8226d6acfafa3d9d9c24"},
|
|
2239
|
+
{file = "python_semantic_release-9.17.0.tar.gz", hash = "sha256:c54bb896c7bcbc865f1f0b19380298cd8012834e95148cb5ec8afc3a0c6307c9"},
|
|
2240
2240
|
]
|
|
2241
2241
|
|
|
2242
2242
|
[package.dependencies]
|
|
@@ -2257,7 +2257,7 @@ tomlkit = ">=0.11,<1.0"
|
|
|
2257
2257
|
build = ["build (>=1.2,<2.0)"]
|
|
2258
2258
|
dev = ["pre-commit (>=3.5,<4.0)", "ruff (==0.6.1)", "tox (>=4.11,<5.0)"]
|
|
2259
2259
|
docs = ["Sphinx (>=6.0,<7.0)", "furo (>=2024.1,<2025.0)", "sphinx-autobuild (==2024.2.4)", "sphinxcontrib-apidoc (==0.5.0)"]
|
|
2260
|
-
mypy = ["mypy (==1.
|
|
2260
|
+
mypy = ["mypy (==1.14.1)", "types-pyyaml (>=6.0,<7.0)", "types-requests (>=2.32.0,<2.33.0)"]
|
|
2261
2261
|
test = ["coverage[toml] (>=7.0,<8.0)", "filelock (>=3.15,<4.0)", "flatdict (>=4.0,<5.0)", "freezegun (>=1.5,<2.0)", "pytest (>=8.3,<9.0)", "pytest-clarity (>=1.0,<2.0)", "pytest-cov (>=5.0,<6.0)", "pytest-env (>=1.0,<2.0)", "pytest-lazy-fixtures (>=1.1.1,<1.2.0)", "pytest-mock (>=3.0,<4.0)", "pytest-order (>=1.3,<2.0)", "pytest-pretty (>=1.2,<2.0)", "pytest-xdist (>=3.0,<4.0)", "pyyaml (>=6.0,<7.0)", "requests-mock (>=1.10,<2.0)", "responses (>=0.25.0,<0.26.0)"]
|
|
2262
2262
|
|
|
2263
2263
|
[[package]]
|
package/pyproject.toml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "meteocat"
|
|
3
|
-
version = "2.
|
|
3
|
+
version = "2.2.2"
|
|
4
4
|
description = "Script para obtener datos meteorológicos de la API de Meteocat"
|
|
5
5
|
authors = ["figorr <jdcuartero@yahoo.es>"]
|
|
6
6
|
license = "Apache-2.0"
|
|
@@ -28,8 +28,8 @@ semantic-release = "^0.1.0"
|
|
|
28
28
|
|
|
29
29
|
[tool.semantic_release]
|
|
30
30
|
branch = "master" # Define la rama desde la que se harán los lanzamientos
|
|
31
|
-
version_source = "
|
|
32
|
-
version_variable = "meteocat/version.py:__version__" # Ubicación de la variable de versión
|
|
31
|
+
version_source = "tag" # Usa los tags para calcular la versión
|
|
32
|
+
version_variable = "custom_components/meteocat/version.py:__version__" # Ubicación de la variable de versión
|
|
33
33
|
changelog = { file = "CHANGELOG.md" } # Genera el changelog en el archivo especificado
|
|
34
34
|
upload_to_pypi = false # Sube automáticamente la versión a PyPI
|
|
35
35
|
ci = false # Cambiar a false si no usas CI/CD
|