meteocat 1.1.0 → 1.1.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.
@@ -7,11 +7,21 @@
7
7
  },
8
8
  "select_municipi": {
9
9
  "description": "Seleccione el municipio de la lista.",
10
- "title": "Selección de municipio"
10
+ "title": "Selección de municipio",
11
+ "data": {
12
+ "municipi": "Municipio"
13
+ }
11
14
  },
12
15
  "select_station": {
13
16
  "description": "Seleccione la estación de la lista.",
14
- "title": "Selección de estación"
17
+ "title": "Selección de estación",
18
+ "data": {
19
+ "station": "Estaciones"
20
+ }
21
+ },
22
+ "set_api_limits": {
23
+ "description": "Define los límites del plan de la API para XEMA y PREDICCIONES.",
24
+ "title": "API límites"
15
25
  }
16
26
  },
17
27
  "error": {
@@ -23,6 +33,38 @@
23
33
  "unknown_error": "Error desconocido."
24
34
  }
25
35
  },
36
+ "options": {
37
+ "step":{
38
+ "init": {
39
+ "description": "Configura el API Key y los límites de la API para XEMA y PREDICCIONES.",
40
+ "title": "Opciones de configuración",
41
+ "data": {
42
+ "option": "Opciones"
43
+ }
44
+ },
45
+ "update_api_and_limits": {
46
+ "description": "Configura el API Key y los límites para XEMA y PREDICCIONES.",
47
+ "title": "API Key y límites"
48
+ },
49
+ "update_limits_only": {
50
+ "description": "Configura los límites para XEMA y PREDICCIONES.",
51
+ "title": "Límites de la API"
52
+ }
53
+ },
54
+ "error": {
55
+ "cannot_connect": "Error de conexión. Error al comprobar la nueva API Key.",
56
+ "unknown": "Error desconocido al comprobar la nueva API Key.",
57
+ "invalid_limit": "Límite no válido. El límite debe ser un número positivo."
58
+ }
59
+ },
60
+ "selector": {
61
+ "option": {
62
+ "options": {
63
+ "update_api_and_limits": "Actualizar API Key y límites.",
64
+ "update_limits_only": "Actualizar API límites."
65
+ }
66
+ }
67
+ },
26
68
  "entity": {
27
69
  "sensor": {
28
70
  "wind_speed": {
@@ -170,6 +212,409 @@
170
212
  "name": "Fecha"
171
213
  }
172
214
  }
215
+ },
216
+ "alert_file_status": {
217
+ "name": "Archivo Alerta",
218
+ "state": {
219
+ "updated": "Actualizado",
220
+ "obsolete": "Obsoleto"
221
+ },
222
+ "state_attributes": {
223
+ "update_date": {
224
+ "name": "Fecha"
225
+ }
226
+ }
227
+ },
228
+ "alerts": {
229
+ "name": "Alertas",
230
+ "state_attributes": {
231
+ "alert_1": {
232
+ "name": "Alerta 1",
233
+ "state": {
234
+ "Temps violent": "Tiempo violento",
235
+ "Intensitat de pluja": "Intensidad de lluvia",
236
+ "Acumulació de pluja": "Acumulación de lluvia",
237
+ "Neu acumulada en 24 hores": "Nieve acumulada en 24 horas",
238
+ "Vent": "Viento",
239
+ "Estat de la mar": "Estado del mar",
240
+ "Fred": "Frío",
241
+ "Calor": "Calor",
242
+ "Calor nocturna": "Calor nocturno"
243
+ }
244
+ },
245
+ "alert_2": {
246
+ "name": "Alerta 2",
247
+ "state": {
248
+ "Temps violent": "Tiempo violento",
249
+ "Intensitat de pluja": "Intensidad de lluvia",
250
+ "Acumulació de pluja": "Acumulación de lluvia",
251
+ "Neu acumulada en 24 hores": "Nieve acumulada en 24 horas",
252
+ "Vent": "Viento",
253
+ "Estat de la mar": "Estado del mar",
254
+ "Fred": "Frío",
255
+ "Calor": "Calor",
256
+ "Calor nocturna": "Calor nocturno"
257
+ }
258
+ },
259
+ "alert_3": {
260
+ "name": "Alerta 3",
261
+ "state": {
262
+ "Temps violent": "Tiempo violento",
263
+ "Intensitat de pluja": "Intensidad de lluvia",
264
+ "Acumulació de pluja": "Acumulación de lluvia",
265
+ "Neu acumulada en 24 hores": "Nieve acumulada en 24 horas",
266
+ "Vent": "Viento",
267
+ "Estat de la mar": "Estado del mar",
268
+ "Fred": "Frío",
269
+ "Calor": "Calor",
270
+ "Calor nocturna": "Calor nocturno"
271
+ }
272
+ },
273
+ "alert_4": {
274
+ "name": "Alerta 4",
275
+ "state": {
276
+ "Temps violent": "Tiempo violento",
277
+ "Intensitat de pluja": "Intensidad de lluvia",
278
+ "Acumulació de pluja": "Acumulación de lluvia",
279
+ "Neu acumulada en 24 hores": "Nieve acumulada en 24 horas",
280
+ "Vent": "Viento",
281
+ "Estat de la mar": "Estado del mar",
282
+ "Fred": "Frío",
283
+ "Calor": "Calor",
284
+ "Calor nocturna": "Calor nocturno"
285
+ }
286
+ },
287
+ "alert_5": {
288
+ "name": "Alerta 5",
289
+ "state": {
290
+ "Temps violent": "Tiempo violento",
291
+ "Intensitat de pluja": "Intensidad de lluvia",
292
+ "Acumulació de pluja": "Acumulación de lluvia",
293
+ "Neu acumulada en 24 hores": "Nieve acumulada en 24 horas",
294
+ "Vent": "Viento",
295
+ "Estat de la mar": "Estado del mar",
296
+ "Fred": "Frío",
297
+ "Calor": "Calor",
298
+ "Calor nocturna": "Calor nocturno"
299
+ }
300
+ }
301
+ }
302
+ },
303
+ "alert_wind": {
304
+ "name": "Alerta Viento",
305
+ "state": {
306
+ "Obert": "Abierto",
307
+ "Tancat": "Cerrado"
308
+ },
309
+ "state_attributes": {
310
+ "inicio": {
311
+ "name": "Inicio"
312
+ },
313
+ "fin": {
314
+ "name": "Final"
315
+ },
316
+ "fecha": {
317
+ "name": "Fecha"
318
+ },
319
+ "periodo": {
320
+ "name": "Periodo"
321
+ },
322
+ "comentario": {
323
+ "name": "Comentario"
324
+ },
325
+ "umbral": {
326
+ "name": "Umbral",
327
+ "state": {
328
+ "Ratxes de vent > 25 m/s": "Rachas de viento > 25 m/s",
329
+ "Esclafits": "Reventón",
330
+ "Tornados o mànegues": "Tornados o mangas marinas",
331
+ "Ratxa màxima > 40m/s": "Racha máxima > 40 m/s",
332
+ "Ratxa màxima > 35m/s": "Racha máxima > 35 m/s",
333
+ "Ratxa màxima > 30m/s": "Racha máxima > 30 m/s",
334
+ "Ratxa màxima > 25m/s": "Racha máxima > 25 m/s",
335
+ "Ratxa màxima > 20m/s": "Racha máxima > 20 m/s"
336
+ }
337
+ },
338
+ "peligro": {
339
+ "name": "Peligro"
340
+ },
341
+ "nivel": {
342
+ "name": "Nivel"
343
+ }
344
+ }
345
+ },
346
+ "alert_rain_intensity": {
347
+ "name": "Alerta Intensidad Lluvia",
348
+ "state": {
349
+ "Obert": "Abierto",
350
+ "Tancat": "Cerrado"
351
+ },
352
+ "state_attributes": {
353
+ "inicio": {
354
+ "name": "Inicio"
355
+ },
356
+ "fin": {
357
+ "name": "Final"
358
+ },
359
+ "fecha": {
360
+ "name": "Fecha"
361
+ },
362
+ "periodo": {
363
+ "name": "Periodo"
364
+ },
365
+ "comentario": {
366
+ "name": "Comentario"
367
+ },
368
+ "umbral": {
369
+ "name": "Umbral",
370
+ "state": {
371
+ "Pedra de diàmetre > 2 cm": "Granizo de diámetro > 2 cm",
372
+ "Esclafits": "Reventón",
373
+ "Intensitat > 40 mm / 30 minuts": "Intensidad > 40 mm / 30 minutos",
374
+ "Intensitat > 20 mm / 30 minuts": "Intensidad > 20 mm / 30 minutos"
375
+ }
376
+ },
377
+ "peligro": {
378
+ "name": "Peligro"
379
+ },
380
+ "nivel": {
381
+ "name": "Nivel"
382
+ }
383
+ }
384
+ },
385
+ "alert_rain": {
386
+ "name": "Alerta Lluvia",
387
+ "state": {
388
+ "Obert": "Abierto",
389
+ "Tancat": "Cerrado"
390
+ },
391
+ "state_attributes": {
392
+ "inicio": {
393
+ "name": "Inicio"
394
+ },
395
+ "fin": {
396
+ "name": "Final"
397
+ },
398
+ "fecha": {
399
+ "name": "Fecha"
400
+ },
401
+ "periodo": {
402
+ "name": "Periodo"
403
+ },
404
+ "comentario": {
405
+ "name": "Comentario"
406
+ },
407
+ "umbral": {
408
+ "name": "Umbral",
409
+ "state": {
410
+ "Esclafits": "Reventón",
411
+ "Acumulada > 200 mm /24 hores": "Acumulada > 200 mm /24 horas",
412
+ "Acumulada > 100 mm /24 hores": "Acumulada > 100 mm /24 horas"
413
+ }
414
+ },
415
+ "peligro": {
416
+ "name": "Peligro"
417
+ },
418
+ "nivel": {
419
+ "name": "Nivel"
420
+ }
421
+ }
422
+ },
423
+ "alert_sea": {
424
+ "name": "Alerta Mar",
425
+ "state": {
426
+ "Obert": "Abierto",
427
+ "Tancat": "Cerrado"
428
+ },
429
+ "state_attributes": {
430
+ "inicio": {
431
+ "name": "Inicio"
432
+ },
433
+ "fin": {
434
+ "name": "Final"
435
+ },
436
+ "fecha": {
437
+ "name": "Fecha"
438
+ },
439
+ "periodo": {
440
+ "name": "Periodo"
441
+ },
442
+ "comentario": {
443
+ "name": "Comentario"
444
+ },
445
+ "umbral": {
446
+ "name": "Umbral",
447
+ "state": {
448
+ "Esclafits": "Reventón",
449
+ "Tornados o mànegues": "Tornados o mangas marinas",
450
+ "Onades > 4.00 metres (mar brava)": "Olas > 4.00 metros (mar brava)",
451
+ "Onades > 2.50 metres (maregassa)": "Olas > 2.50 metros (mar temporal)"
452
+ }
453
+ },
454
+ "peligro": {
455
+ "name": "Peligro"
456
+ },
457
+ "nivel": {
458
+ "name": "Nivel"
459
+ }
460
+ }
461
+ },
462
+ "alert_cold": {
463
+ "name": "Alerta Frío",
464
+ "state": {
465
+ "Obert": "Abierto",
466
+ "Tancat": "Cerrado"
467
+ },
468
+ "state_attributes": {
469
+ "inicio": {
470
+ "name": "Inicio"
471
+ },
472
+ "fin": {
473
+ "name": "Final"
474
+ },
475
+ "fecha": {
476
+ "name": "Fecha"
477
+ },
478
+ "periodo": {
479
+ "name": "Periodo"
480
+ },
481
+ "comentario": {
482
+ "name": "Comentario"
483
+ },
484
+ "umbral": {
485
+ "name": "Umbral",
486
+ "state": {
487
+ "Fred molt intens": "Frío muy intenso",
488
+ "Fred intens": "Frío intenso"
489
+ }
490
+ },
491
+ "peligro": {
492
+ "name": "Peligro"
493
+ },
494
+ "nivel": {
495
+ "name": "Nivel"
496
+ }
497
+ }
498
+ },
499
+ "alert_warm": {
500
+ "name": "Alerta Calor",
501
+ "state": {
502
+ "Obert": "Abierto",
503
+ "Tancat": "Cerrado"
504
+ },
505
+ "state_attributes": {
506
+ "inicio": {
507
+ "name": "Inicio"
508
+ },
509
+ "fin": {
510
+ "name": "Final"
511
+ },
512
+ "fecha": {
513
+ "name": "Fecha"
514
+ },
515
+ "periodo": {
516
+ "name": "Periodo"
517
+ },
518
+ "comentario": {
519
+ "name": "Comentario"
520
+ },
521
+ "umbral": {
522
+ "name": "Umbral",
523
+ "state": {
524
+ "Calor molt intensa": "Calor muy intenso",
525
+ "Calor intensa": "Calor intenso"
526
+ }
527
+ },
528
+ "peligro": {
529
+ "name": "Peligro"
530
+ },
531
+ "nivel": {
532
+ "name": "Nivel"
533
+ }
534
+ }
535
+ },
536
+ "alert_warm_night": {
537
+ "name": "Alerta Calor Nocturno",
538
+ "state": {
539
+ "Obert": "Abierto",
540
+ "Tancat": "Cerrado"
541
+ },
542
+ "state_attributes": {
543
+ "inicio": {
544
+ "name": "Inicio"
545
+ },
546
+ "fin": {
547
+ "name": "Final"
548
+ },
549
+ "fecha": {
550
+ "name": "Fecha"
551
+ },
552
+ "periodo": {
553
+ "name": "Periodo"
554
+ },
555
+ "comentario": {
556
+ "name": "Comentario"
557
+ },
558
+ "umbral": {
559
+ "name": "Umbral",
560
+ "state": {
561
+ "Calor nocturna molt intensa": "Calor nocturno muy intenso",
562
+ "Calor nocturna intensa": "Calor nocturno intenso"
563
+ }
564
+ },
565
+ "peligro": {
566
+ "name": "Peligro"
567
+ },
568
+ "nivel": {
569
+ "name": "Nivel"
570
+ }
571
+ }
572
+ },
573
+ "alert_snow": {
574
+ "name": "Alerta Nieve",
575
+ "state": {
576
+ "Obert": "Abierto",
577
+ "Tancat": "Cerrado"
578
+ },
579
+ "state_attributes": {
580
+ "inicio": {
581
+ "name": "Inicio"
582
+ },
583
+ "fin": {
584
+ "name": "Final"
585
+ },
586
+ "fecha": {
587
+ "name": "Fecha"
588
+ },
589
+ "periodo": {
590
+ "name": "Periodo"
591
+ },
592
+ "comentario": {
593
+ "name": "Comentario"
594
+ },
595
+ "umbral": {
596
+ "name": "Umbral",
597
+ "state": {
598
+ "Pedra de diàmetre > 2 cm": "Granizo de diámetro > 2 cm",
599
+ "gruix > 50 cm a cotes superiors a 1000 metres fins a 1500 metres": "grosor > 50 cm en cotas superiores a 1000 metros hasta 1500 metros",
600
+ "gruix > 30 cm a cotes superiors a 800 metres fins a 1000 metres": "grosor > 30 cm en cotas superiores a 800 metros hasta 1000 metros",
601
+ "gruix > 20 cm a cotes superiors a 600 metres fins a 800 metres": "grosor > 20 cm en cotas superiores a 600 metros hasta 800 metros",
602
+ "gruix > 20 cm a cotes superiors a 1000 metres fins a 1500 metres": "grosor > 20 cm en cotas superiores a 1000 metros hasta 1500 metros",
603
+ "gruix > 15 cm a cotes superiors a 300 metres fins a 600 metres": "grosor > 15 cm en cotas superiores a 300 metros hasta 600 metros",
604
+ "gruix > 10 cm a cotes superiors a 800 metres fins a 1000 metres": "grosor > 10 cm en cotas superiores a 800 metros hasta 1000 metros",
605
+ "gruix > 5 cm a cotes inferiors a 300 metres": "grosor > 5 cm en cotas inferiores a 300 metros",
606
+ "gruix > 5 cm a cotes superiors a 600 metres fins a 800 metres": "grosor > 5 cm en cotas superiores a 600 metros hasta 800 metros",
607
+ "gruix > 2 cm a cotes superiors a 300 metres fins a 600 metres": "grosor > 2 cm en cotas superiores a 300 metros hasta 600 metros",
608
+ "gruix ≥ 0 cm a cotes inferiors a 300 metres": "grosor ≥ 0 cm en cotas inferiores a 300 metros"
609
+ }
610
+ },
611
+ "peligro": {
612
+ "name": "Peligro"
613
+ },
614
+ "nivel": {
615
+ "name": "Nivel"
616
+ }
617
+ }
173
618
  }
174
619
  }
175
620
  }
@@ -1,2 +1,2 @@
1
1
  # version.py
2
- __version__ = "1.1.0"
2
+ __version__ = "2.0.0"
package/filetree.txt CHANGED
@@ -35,6 +35,7 @@
35
35
  ├── filetree.txt
36
36
  ├── hacs.json
37
37
  └── images/
38
+ ├── api_limits.png
38
39
  ├── banner.png
39
40
  ├── change_units.png
40
41
  ├── devices.png
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meteocat",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\r [![Python version compatibility](https://img.shields.io/pypi/pyversions/meteocat)](https://pypi.org/project/meteocat)\r [![pipeline status](https://gitlab.com/figorr/meteocat/badges/master/pipeline.svg)](https://gitlab.com/figorr/meteocat/commits/master)",
5
5
  "main": "index.js",
6
6
  "directories": {
package/pyproject.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "meteocat"
3
- version = "1.1.0"
3
+ version = "2.0.0"
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"