meteocat 2.1.0 → 2.2.3
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 +18 -0
- package/README.md +1 -1
- package/custom_components/meteocat/__init__.py +29 -1
- package/custom_components/meteocat/config_flow.py +140 -1
- package/custom_components/meteocat/const.py +14 -0
- package/custom_components/meteocat/coordinator.py +524 -9
- package/custom_components/meteocat/manifest.json +2 -2
- package/custom_components/meteocat/options_flow.py +30 -4
- package/custom_components/meteocat/sensor.py +420 -4
- package/custom_components/meteocat/strings.json +197 -4
- package/custom_components/meteocat/translations/ca.json +197 -4
- package/custom_components/meteocat/translations/en.json +197 -4
- package/custom_components/meteocat/translations/es.json +197 -4
- package/custom_components/meteocat/version.py +1 -1
- package/images/api_limits.png +0 -0
- package/images/diagnostic_sensors.png +0 -0
- package/images/dynamic_sensors.png +0 -0
- package/package.json +1 -1
- package/poetry.lock +598 -586
- package/pyproject.toml +3 -3
|
@@ -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
|
},
|
|
@@ -151,6 +151,12 @@
|
|
|
151
151
|
"station_timestamp": {
|
|
152
152
|
"name": "Estación Timestamp"
|
|
153
153
|
},
|
|
154
|
+
"region_name": {
|
|
155
|
+
"name": "Comarca Nombre"
|
|
156
|
+
},
|
|
157
|
+
"region_id": {
|
|
158
|
+
"name": "Comarca ID"
|
|
159
|
+
},
|
|
154
160
|
"condition": {
|
|
155
161
|
"name": "Estado del cielo",
|
|
156
162
|
"state": {
|
|
@@ -225,6 +231,193 @@
|
|
|
225
231
|
}
|
|
226
232
|
}
|
|
227
233
|
},
|
|
234
|
+
"quota_file_status": {
|
|
235
|
+
"name": "Archivo Cuota",
|
|
236
|
+
"state": {
|
|
237
|
+
"updated": "Actualizado",
|
|
238
|
+
"obsolete": "Obsoleto"
|
|
239
|
+
},
|
|
240
|
+
"state_attributes": {
|
|
241
|
+
"update_date": {
|
|
242
|
+
"name": "Fecha"
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
"lightning_file_status": {
|
|
247
|
+
"name": "Archivo Rayos",
|
|
248
|
+
"state": {
|
|
249
|
+
"updated": "Actualizado",
|
|
250
|
+
"obsolete": "Obsoleto"
|
|
251
|
+
},
|
|
252
|
+
"state_attributes": {
|
|
253
|
+
"update_date": {
|
|
254
|
+
"name": "Fecha"
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
},
|
|
258
|
+
"lightning_region": {
|
|
259
|
+
"name": "Rayos Comarca",
|
|
260
|
+
"state_attributes": {
|
|
261
|
+
"cloud_cloud": {
|
|
262
|
+
"name": "Nube-Nube"
|
|
263
|
+
},
|
|
264
|
+
"cloud_ground_neg":{
|
|
265
|
+
"name": "Nube-Tierra Negativo"
|
|
266
|
+
},
|
|
267
|
+
"cloud_ground_pos": {
|
|
268
|
+
"name": "Nube-Tierra Positivo"
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
},
|
|
272
|
+
"lightning_town": {
|
|
273
|
+
"name": "Rayos Municipio",
|
|
274
|
+
"state_attributes": {
|
|
275
|
+
"cloud_cloud": {
|
|
276
|
+
"name": "Nube-Nube"
|
|
277
|
+
},
|
|
278
|
+
"cloud_ground_neg":{
|
|
279
|
+
"name": "Nube-Tierra Negativo"
|
|
280
|
+
},
|
|
281
|
+
"cloud_ground_pos": {
|
|
282
|
+
"name": "Nube-Tierra Positivo"
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
"quota_xdde": {
|
|
287
|
+
"name": "Cuota XDDE",
|
|
288
|
+
"state": {
|
|
289
|
+
"ok": "Ok",
|
|
290
|
+
"exceeded": "Superada",
|
|
291
|
+
"unknown": "Desconocido"
|
|
292
|
+
},
|
|
293
|
+
"state_attributes": {
|
|
294
|
+
"period": {
|
|
295
|
+
"name": "Periodo",
|
|
296
|
+
"state": {
|
|
297
|
+
"weekly": "Semanal",
|
|
298
|
+
"monthly": "Mensual",
|
|
299
|
+
"annual": "Anual"
|
|
300
|
+
}
|
|
301
|
+
},
|
|
302
|
+
"max_queries": {
|
|
303
|
+
"name": "Máximo"
|
|
304
|
+
},
|
|
305
|
+
"remain_queries": {
|
|
306
|
+
"name": "Restantes"
|
|
307
|
+
},
|
|
308
|
+
"made_queries": {
|
|
309
|
+
"name": "Realizadas"
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
"quota_prediccio": {
|
|
314
|
+
"name": "Cuota Predicción",
|
|
315
|
+
"state": {
|
|
316
|
+
"ok": "Ok",
|
|
317
|
+
"exceeded": "Superada",
|
|
318
|
+
"unknown": "Desconocido"
|
|
319
|
+
},
|
|
320
|
+
"state_attributes": {
|
|
321
|
+
"period": {
|
|
322
|
+
"name": "Periodo",
|
|
323
|
+
"state": {
|
|
324
|
+
"weekly": "Semanal",
|
|
325
|
+
"monthly": "Mensual",
|
|
326
|
+
"annual": "Anual"
|
|
327
|
+
}
|
|
328
|
+
},
|
|
329
|
+
"max_queries": {
|
|
330
|
+
"name": "Máximo"
|
|
331
|
+
},
|
|
332
|
+
"remain_queries": {
|
|
333
|
+
"name": "Restantes"
|
|
334
|
+
},
|
|
335
|
+
"made_queries": {
|
|
336
|
+
"name": "Realizadas"
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
"quota_basic": {
|
|
341
|
+
"name": "Cuota Básica",
|
|
342
|
+
"state": {
|
|
343
|
+
"ok": "Ok",
|
|
344
|
+
"exceeded": "Superada",
|
|
345
|
+
"unknown": "Desconocido"
|
|
346
|
+
},
|
|
347
|
+
"state_attributes": {
|
|
348
|
+
"period": {
|
|
349
|
+
"name": "Periodo",
|
|
350
|
+
"state": {
|
|
351
|
+
"weekly": "Semanal",
|
|
352
|
+
"monthly": "Mensual",
|
|
353
|
+
"annual": "Anual"
|
|
354
|
+
}
|
|
355
|
+
},
|
|
356
|
+
"max_queries": {
|
|
357
|
+
"name": "Máximo"
|
|
358
|
+
},
|
|
359
|
+
"remain_queries": {
|
|
360
|
+
"name": "Restantes"
|
|
361
|
+
},
|
|
362
|
+
"made_queries": {
|
|
363
|
+
"name": "Realizadas"
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
"quota_xema": {
|
|
368
|
+
"name": "Cuota XEMA",
|
|
369
|
+
"state": {
|
|
370
|
+
"ok": "Ok",
|
|
371
|
+
"exceeded": "Superada",
|
|
372
|
+
"unknown": "Desconocido"
|
|
373
|
+
},
|
|
374
|
+
"state_attributes": {
|
|
375
|
+
"period": {
|
|
376
|
+
"name": "Periodo",
|
|
377
|
+
"state": {
|
|
378
|
+
"weekly": "Semanal",
|
|
379
|
+
"monthly": "Mensual",
|
|
380
|
+
"annual": "Anual"
|
|
381
|
+
}
|
|
382
|
+
},
|
|
383
|
+
"max_queries": {
|
|
384
|
+
"name": "Máximo"
|
|
385
|
+
},
|
|
386
|
+
"remain_queries": {
|
|
387
|
+
"name": "Restantes"
|
|
388
|
+
},
|
|
389
|
+
"made_queries": {
|
|
390
|
+
"name": "Realizadas"
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
},
|
|
394
|
+
"quota_queries": {
|
|
395
|
+
"name": "Cuota Consultas",
|
|
396
|
+
"state": {
|
|
397
|
+
"ok": "Ok",
|
|
398
|
+
"exceeded": "Superada",
|
|
399
|
+
"unknown": "Desconocido"
|
|
400
|
+
},
|
|
401
|
+
"state_attributes": {
|
|
402
|
+
"period": {
|
|
403
|
+
"name": "Periodo",
|
|
404
|
+
"state": {
|
|
405
|
+
"weekly": "Semanal",
|
|
406
|
+
"monthly": "Mensual",
|
|
407
|
+
"annual": "Anual"
|
|
408
|
+
}
|
|
409
|
+
},
|
|
410
|
+
"max_queries": {
|
|
411
|
+
"name": "Máximo"
|
|
412
|
+
},
|
|
413
|
+
"remain_queries": {
|
|
414
|
+
"name": "Restantes"
|
|
415
|
+
},
|
|
416
|
+
"made_queries": {
|
|
417
|
+
"name": "Realizadas"
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
},
|
|
228
421
|
"alerts": {
|
|
229
422
|
"name": "Alertas",
|
|
230
423
|
"state_attributes": {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
# version.py
|
|
2
|
-
__version__ = "2.
|
|
2
|
+
__version__ = "2.2.3"
|
package/images/api_limits.png
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "meteocat",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.3",
|
|
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": {
|