meteocat 4.0.0 → 4.0.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.
Files changed (49) hide show
  1. package/.github/ISSUE_TEMPLATE/bug_report.md +45 -45
  2. package/.github/ISSUE_TEMPLATE/config.yml +8 -8
  3. package/.github/ISSUE_TEMPLATE/improvement.md +39 -39
  4. package/.github/ISSUE_TEMPLATE/new_function.md +41 -41
  5. package/.github/labels.yml +63 -63
  6. package/.github/workflows/autocloser.yaml +27 -27
  7. package/.github/workflows/close-on-label.yml +48 -48
  8. package/.github/workflows/force-sync-labels.yml +18 -18
  9. package/.github/workflows/hassfest.yaml +13 -13
  10. package/.github/workflows/publish-zip.yml +67 -67
  11. package/.github/workflows/release.yml +41 -41
  12. package/.github/workflows/stale.yml +63 -63
  13. package/.github/workflows/sync-gitlab.yml +107 -107
  14. package/.github/workflows/sync-labels.yml +21 -21
  15. package/.github/workflows/validate.yaml +16 -16
  16. package/.pre-commit-config.yaml +37 -37
  17. package/.releaserc +37 -37
  18. package/AUTHORS.md +13 -13
  19. package/CHANGELOG.md +971 -954
  20. package/README.md +207 -207
  21. package/conftest.py +11 -11
  22. package/custom_components/meteocat/__init__.py +298 -298
  23. package/custom_components/meteocat/condition.py +63 -63
  24. package/custom_components/meteocat/config_flow.py +613 -613
  25. package/custom_components/meteocat/const.py +132 -132
  26. package/custom_components/meteocat/coordinator.py +248 -68
  27. package/custom_components/meteocat/helpers.py +58 -58
  28. package/custom_components/meteocat/manifest.json +25 -25
  29. package/custom_components/meteocat/options_flow.py +287 -287
  30. package/custom_components/meteocat/sensor.py +4 -2
  31. package/custom_components/meteocat/strings.json +1060 -1058
  32. package/custom_components/meteocat/translations/ca.json +1060 -1058
  33. package/custom_components/meteocat/translations/en.json +1060 -1058
  34. package/custom_components/meteocat/translations/es.json +1060 -1058
  35. package/custom_components/meteocat/version.py +1 -1
  36. package/custom_components/meteocat/weather.py +218 -218
  37. package/filetree.py +48 -48
  38. package/filetree.txt +80 -79
  39. package/hacs.json +8 -8
  40. package/info.md +11 -11
  41. package/package.json +22 -22
  42. package/poetry.lock +3222 -3222
  43. package/pyproject.toml +68 -68
  44. package/requirements.test.txt +3 -3
  45. package/setup.cfg +64 -64
  46. package/setup.py +10 -10
  47. package/tests/bandit.yaml +17 -17
  48. package/tests/conftest.py +19 -19
  49. package/tests/test_init.py +9 -9
@@ -1,1059 +1,1061 @@
1
- {
2
- "config": {
3
- "step": {
4
- "user": {
5
- "description": "Introduïu l'API Key subministrada per Meteocat per poder iniciar el procés de validació.",
6
- "title": "API Key"
7
- },
8
- "select_municipi": {
9
- "description": "Seleccioneu el municipi de la llista.",
10
- "title": "Selecció de municipi",
11
- "data": {
12
- "municipi": "Municipi"
13
- }
14
- },
15
- "select_station": {
16
- "description": "Seleccioneu l'estació de la llista.",
17
- "title": "Selecció d'estació",
18
- "data": {
19
- "station": "Estacions"
20
- }
21
- },
22
- "set_api_limits": {
23
- "description": "Defineix els límits del pla de l'API.",
24
- "title": "Límits de l'API"
25
- }
26
- },
27
- "error": {
28
- "bad_request": "Petició invàlida. Reviseu la vostra API Key.",
29
- "forbidden": "Accés denegat. Reviseu els permisos de la vostra API Key.",
30
- "rate_limit_exceeded": "Excés del límit de peticions. Si us plau, torneu-ho a provar més tard.",
31
- "server_error": "Error del servidor. Torneu-ho a provar més tard.",
32
- "connection_error": "Error de connexió. Reviseu la vostra connexió de xarxa.",
33
- "unknown_error": "Error desconegut."
34
- }
35
- },
36
- "options": {
37
- "step":{
38
- "init": {
39
- "description": "Configureu la clau API, els límits de l'API, regenereu els fitxers d'assets o actualitzeu les coordenades.",
40
- "title": "Opcions de configuració",
41
- "data": {
42
- "option": "Opcions"
43
- }
44
- },
45
- "update_api_and_limits": {
46
- "description": "Configura l'API Key i els límits de l'API.",
47
- "title": "API Key i límits"
48
- },
49
- "update_limits_only": {
50
- "description": "Configura els límits de l'API.",
51
- "title": "Límits de l'API"
52
- },
53
- "update_coordinates": {
54
- "description": "Introduïu noves coordenades. Coordenades actuals: latitud {current_latitude}, longitud {current_longitude}. Altitud actual: {current_altitude} metres.",
55
- "title": "Actualitzar coordenades",
56
- "data": {
57
- "latitude": "Latitud",
58
- "longitude": "Longitud",
59
- "altitude": "Altitud (metres)"
60
- }
61
- },
62
- "confirm_regenerate_assets": {
63
- "description": "Regenera els arxius a 'assets'.",
64
- "title": "Regenera 'assets'",
65
- "data": {
66
- "confirm": "Confirmar"
67
- }
68
- }
69
- },
70
- "error": {
71
- "cannot_connect": "Error de conexió. Error al comprovar la nova API Key.",
72
- "unknown": "Error desconegut al comprovar la nova API Key.",
73
- "invalid_limit": "Límit no vàlid. El límit ha de ser un nombre positiu.",
74
- "invalid_coordinates": "Les coordenades han d'estar dins del rang de Catalunya (latitud: 40.5 a 42.5, longitud: 0.1 a 3.3).",
75
- "invalid_altitude": "Altitud no pot ser negativa."
76
- }
77
- },
78
- "selector": {
79
- "option": {
80
- "options": {
81
- "update_api_and_limits": "Actualitzar API Key i límits.",
82
- "update_limits_only": "Actualitzar API límits.",
83
- "regenerate_assets": "Regenera arxius a 'assets'.",
84
- "update_coordinates": "Actualitzar coordenades (latitud i longitud) i altitud (metres)."
85
- }
86
- }
87
- },
88
- "entity": {
89
- "sensor": {
90
- "wind_speed": {
91
- "name": "Vent Velocitat"
92
- },
93
- "wind_direction": {
94
- "name": "Vent Direcció"
95
- },
96
- "wind_direction_cardinal": {
97
- "name": "Vent Direcció Cardinal",
98
- "state": {
99
- "north": "N",
100
- "north_northeast": "NNE",
101
- "northeast": "NE",
102
- "east_northeast": "ENE",
103
- "east": "E",
104
- "east_southeast": "ESE",
105
- "southeast": "SE",
106
- "south_southeast": "SSE",
107
- "south": "S",
108
- "south_southwest": "SSO",
109
- "southwest": "SO",
110
- "west_southwest": "OSO",
111
- "west": "O",
112
- "west_northwest": "ONO",
113
- "northwest": "NO",
114
- "north_northwest": "NNO",
115
- "unknown": "Desconegut"
116
- }
117
- },
118
- "temperature": {
119
- "name": "Temperatura"
120
- },
121
- "humidity": {
122
- "name": "Humitat"
123
- },
124
- "pressure": {
125
- "name": "Pressió"
126
- },
127
- "precipitation": {
128
- "name": "Precipitació"
129
- },
130
- "precipitation_accumulated": {
131
- "name": "Precipitació Acumulada"
132
- },
133
- "precipitation_probability": {
134
- "name": "Precipitació Probabilitat"
135
- },
136
- "solar_global_irradiance": {
137
- "name": "Irradiació Solar Global"
138
- },
139
- "uv_index": {
140
- "name": "UV Índex",
141
- "state_attributes": {
142
- "hour": {
143
- "name": "Hora"
144
- }
145
- }
146
- },
147
- "max_temperature": {
148
- "name": "Temperatura Max"
149
- },
150
- "min_temperature": {
151
- "name": "Temperatura Min"
152
- },
153
- "feels_like": {
154
- "name": "Sensació Tèrmica"
155
- },
156
- "wind_gust": {
157
- "name": "Vent Ratxa"
158
- },
159
- "town_name": {
160
- "name": "Municipi Nom"
161
- },
162
- "town_id": {
163
- "name": "Municipi ID"
164
- },
165
- "station_name": {
166
- "name": "Estació Nom"
167
- },
168
- "station_id": {
169
- "name": "Estació ID"
170
- },
171
- "station_timestamp": {
172
- "name": "Estació Timestamp"
173
- },
174
- "region_name": {
175
- "name": "Comarca Nom"
176
- },
177
- "region_id": {
178
- "name": "Comarca ID"
179
- },
180
- "condition": {
181
- "name": "Estat del Cel",
182
- "state": {
183
- "sunny": "Assolellat",
184
- "clear-night": "Nit serena",
185
- "partlycloudy": "Parcialment ennuvolat",
186
- "cloudy": "Ennuvolat",
187
- "rainy": "Plovent",
188
- "pouring": "Tempesta",
189
- "lightning-rainy": "Tempesta amb llamps",
190
- "hail": "Calamarsa",
191
- "snowy": "Nevant",
192
- "snow-rainy": "Aiguaneu"
193
- },
194
- "state_attributes": {
195
- "hour": {
196
- "name": "Hora"
197
- }
198
- }
199
- },
200
- "max_temperature_forecast": {
201
- "name": "Temperatura Max Avui"
202
- },
203
- "min_temperature_forecast": {
204
- "name": "Temperatura Min Avui"
205
- },
206
- "hourly_forecast_file_status": {
207
- "name": "Arxiu Horari",
208
- "state": {
209
- "updated": "Actualitzat",
210
- "obsolete": "Obsolet"
211
- },
212
- "state_attributes": {
213
- "update_date": {
214
- "name": "Data"
215
- }
216
- }
217
- },
218
- "daily_forecast_file_status": {
219
- "name": "Arxiu Diari",
220
- "state": {
221
- "updated": "Actualitzat",
222
- "obsolete": "Obsolet"
223
- },
224
- "state_attributes": {
225
- "update_date": {
226
- "name": "Data"
227
- }
228
- }
229
- },
230
- "uvi_file_status": {
231
- "name": "Arxiu UVI",
232
- "state": {
233
- "updated": "Actualitzat",
234
- "obsolete": "Obsolet"
235
- },
236
- "state_attributes": {
237
- "update_date": {
238
- "name": "Data"
239
- }
240
- }
241
- },
242
- "alert_file_status": {
243
- "name": "Arxiu Alerta",
244
- "state": {
245
- "updated": "Actualitzat",
246
- "obsolete": "Obsolet"
247
- },
248
- "state_attributes": {
249
- "update_date": {
250
- "name": "Data"
251
- }
252
- }
253
- },
254
- "quota_file_status": {
255
- "name": "Arxiu Quota",
256
- "state": {
257
- "updated": "Actualitzat",
258
- "obsolete": "Obsolet"
259
- },
260
- "state_attributes": {
261
- "update_date": {
262
- "name": "Data"
263
- }
264
- }
265
- },
266
- "lightning_file_status": {
267
- "name": "Arxiu Llamps",
268
- "state": {
269
- "updated": "Actualitzat",
270
- "obsolete": "Obsolet"
271
- },
272
- "state_attributes": {
273
- "update_date": {
274
- "name": "Data"
275
- }
276
- }
277
- },
278
- "lightning_region": {
279
- "name": "Llamps Comarca",
280
- "state_attributes": {
281
- "cloud_cloud": {
282
- "name": "Núvol-Núvol"
283
- },
284
- "cloud_ground_neg":{
285
- "name": "Núvol-Terra Negatiu"
286
- },
287
- "cloud_ground_pos": {
288
- "name": "Núvol-Terra Positiu"
289
- }
290
- }
291
- },
292
- "lightning_town": {
293
- "name": "Llamps Municipi",
294
- "state_attributes": {
295
- "cloud_cloud": {
296
- "name": "Núvol-Núvol"
297
- },
298
- "cloud_ground_neg":{
299
- "name": "Núvol-Terra Negatiu"
300
- },
301
- "cloud_ground_pos": {
302
- "name": "Núvol-Terra Positiu"
303
- }
304
- }
305
- },
306
- "quota_xdde": {
307
- "name": "Quota XDDE",
308
- "state": {
309
- "ok": "Ok",
310
- "exceeded": "Superada",
311
- "unknown": "Desconegut"
312
- },
313
- "state_attributes": {
314
- "period": {
315
- "name": "Periode",
316
- "state": {
317
- "weekly": "Setmanal",
318
- "monthly": "Mensual",
319
- "annual": "Anual"
320
- }
321
- },
322
- "max_queries": {
323
- "name": "Màxim"
324
- },
325
- "remain_queries": {
326
- "name": "Restants"
327
- },
328
- "made_queries": {
329
- "name": "Realitzades"
330
- }
331
- }
332
- },
333
- "quota_prediccio": {
334
- "name": "Quota Predicció",
335
- "state": {
336
- "ok": "Ok",
337
- "exceeded": "Superada",
338
- "unknown": "Desconegut"
339
- },
340
- "state_attributes": {
341
- "period": {
342
- "name": "Periode",
343
- "state": {
344
- "weekly": "Setmanal",
345
- "monthly": "Mensual",
346
- "annual": "Anual"
347
- }
348
- },
349
- "max_queries": {
350
- "name": "Màxim"
351
- },
352
- "remain_queries": {
353
- "name": "Restants"
354
- },
355
- "made_queries": {
356
- "name": "Realitzades"
357
- }
358
- }
359
- },
360
- "quota_basic": {
361
- "name": "Quota Bàsica",
362
- "state": {
363
- "ok": "Ok",
364
- "exceeded": "Superada",
365
- "unknown": "Desconegut"
366
- },
367
- "state_attributes": {
368
- "period": {
369
- "name": "Periode",
370
- "state": {
371
- "weekly": "Setmanal",
372
- "monthly": "Mensual",
373
- "annual": "Anual"
374
- }
375
- },
376
- "max_queries": {
377
- "name": "Màxim"
378
- },
379
- "remain_queries": {
380
- "name": "Restants"
381
- },
382
- "made_queries": {
383
- "name": "Realitzades"
384
- }
385
- }
386
- },
387
- "quota_xema": {
388
- "name": "Quota XEMA",
389
- "state": {
390
- "ok": "Ok",
391
- "exceeded": "Superada",
392
- "unknown": "Desconegut"
393
- },
394
- "state_attributes": {
395
- "period": {
396
- "name": "Periode",
397
- "state": {
398
- "weekly": "Setmanal",
399
- "monthly": "Mensual",
400
- "annual": "Anual"
401
- }
402
- },
403
- "max_queries": {
404
- "name": "Màxim"
405
- },
406
- "remain_queries": {
407
- "name": "Restants"
408
- },
409
- "made_queries": {
410
- "name": "Realitzades"
411
- }
412
- }
413
- },
414
- "quota_queries": {
415
- "name": "Quota Consultes",
416
- "state": {
417
- "ok": "Ok",
418
- "exceeded": "Superada",
419
- "unknown": "Desconegut"
420
- },
421
- "state_attributes": {
422
- "period": {
423
- "name": "Periode",
424
- "state": {
425
- "weekly": "Setmanal",
426
- "monthly": "Mensual",
427
- "annual": "Anual"
428
- }
429
- },
430
- "max_queries": {
431
- "name": "Màxim"
432
- },
433
- "remain_queries": {
434
- "name": "Restants"
435
- },
436
- "made_queries": {
437
- "name": "Realitzades"
438
- }
439
- }
440
- },
441
- "alerts": {
442
- "name": "Alertes",
443
- "state_attributes": {
444
- "alert_1": {
445
- "name": "Alerta 1",
446
- "state": {
447
- "violent_weather": "Temps violent",
448
- "rain_intensity": "Intensitat de pluja",
449
- "rain_amount": "Acumulació de pluja",
450
- "snow_amount_24": "Neu acumulada en 24 hores",
451
- "wind": "Vent",
452
- "sea_state": "Estat de la mar",
453
- "cold": "Fred",
454
- "heat": "Calor",
455
- "night_heat": "Calor nocturna"
456
- }
457
- },
458
- "alert_2": {
459
- "name": "Alerta 2",
460
- "state": {
461
- "violent_weather": "Temps violent",
462
- "rain_intensity": "Intensitat de pluja",
463
- "rain_amount": "Acumulació de pluja",
464
- "snow_amount_24": "Neu acumulada en 24 hores",
465
- "wind": "Vent",
466
- "sea_state": "Estat de la mar",
467
- "cold": "Fred",
468
- "heat": "Calor",
469
- "night_heat": "Calor nocturna"
470
- }
471
- },
472
- "alert_3": {
473
- "name": "Alerta 3",
474
- "state": {
475
- "violent_weather": "Temps violent",
476
- "rain_intensity": "Intensitat de pluja",
477
- "rain_amount": "Acumulació de pluja",
478
- "snow_amount_24": "Neu acumulada en 24 hores",
479
- "wind": "Vent",
480
- "sea_state": "Estat de la mar",
481
- "cold": "Fred",
482
- "heat": "Calor",
483
- "night_heat": "Calor nocturna"
484
- }
485
- },
486
- "alert_4": {
487
- "name": "Alerta 4",
488
- "state": {
489
- "violent_weather": "Temps violent",
490
- "rain_intensity": "Intensitat de pluja",
491
- "rain_amount": "Acumulació de pluja",
492
- "snow_amount_24": "Neu acumulada en 24 hores",
493
- "wind": "Vent",
494
- "sea_state": "Estat de la mar",
495
- "cold": "Fred",
496
- "heat": "Calor",
497
- "night_heat": "Calor nocturna"
498
- }
499
- },
500
- "alert_5": {
501
- "name": "Alerta 5",
502
- "state": {
503
- "violent_weather": "Temps violent",
504
- "rain_intensity": "Intensitat de pluja",
505
- "rain_amount": "Acumulació de pluja",
506
- "snow_amount_24": "Neu acumulada en 24 hores",
507
- "wind": "Vent",
508
- "sea_state": "Estat de la mar",
509
- "cold": "Fred",
510
- "heat": "Calor",
511
- "night_heat": "Calor nocturna"
512
- }
513
- }
514
- }
515
- },
516
- "alert_wind": {
517
- "name": "Alerta Vent",
518
- "state": {
519
- "opened": "Obert",
520
- "closed": "Tancat"
521
- },
522
- "state_attributes": {
523
- "inicio": {
524
- "name": "Inici"
525
- },
526
- "fin": {
527
- "name": "Final"
528
- },
529
- "fecha": {
530
- "name": "Data"
531
- },
532
- "periodo": {
533
- "name": "Període"
534
- },
535
- "comentario": {
536
- "name": "Comentari"
537
- },
538
- "umbral": {
539
- "name": "Llindar",
540
- "state": {
541
- "wind_gusts_25": "Ratxes de vent > 25 m/s",
542
- "microburst": "Esclafits",
543
- "tornadoes": "Tornados o mànegues",
544
- "wind_40": "Ratxa màxima > 40 m/s",
545
- "wind_35": "Ratxa màxima > 35 m/s",
546
- "wind_30": "Ratxa màxima > 30 m/s",
547
- "wind_25": "Ratxa màxima > 25 m/s",
548
- "wind_20": "Ratxa màxima > 20 m/s",
549
- "unknown": "Desconegut"
550
- }
551
- },
552
- "peligro": {
553
- "name": "Perill"
554
- },
555
- "nivel": {
556
- "name": "Nivell"
557
- }
558
- }
559
- },
560
- "alert_rain_intensity": {
561
- "name": "Alerta Intensitat de Pluja",
562
- "state": {
563
- "opened": "Obert",
564
- "closed": "Tancat"
565
- },
566
- "state_attributes": {
567
- "inicio": {
568
- "name": "Inici"
569
- },
570
- "fin": {
571
- "name": "Final"
572
- },
573
- "fecha": {
574
- "name": "Data"
575
- },
576
- "periodo": {
577
- "name": "Període"
578
- },
579
- "comentario": {
580
- "name": "Comentari"
581
- },
582
- "umbral": {
583
- "name": "Llindar",
584
- "state": {
585
- "hail_2_cm": "Pedra de diàmetre > 2 cm",
586
- "microburst": "Esclafits",
587
- "intensity_40_30": "Intensitat > 40 mm / 30 minuts",
588
- "intensity_20_30": "Intensitat > 20 mm / 30 minuts",
589
- "unknown": "Desconegut"
590
- }
591
- },
592
- "peligro": {
593
- "name": "Perill"
594
- },
595
- "nivel": {
596
- "name": "Nivell"
597
- }
598
- }
599
- },
600
- "alert_rain": {
601
- "name": "Alerta Pluja",
602
- "state": {
603
- "opened": "Obert",
604
- "closed": "Tancat"
605
- },
606
- "state_attributes": {
607
- "inicio": {
608
- "name": "Inici"
609
- },
610
- "fin": {
611
- "name": "Final"
612
- },
613
- "fecha": {
614
- "name": "Data"
615
- },
616
- "periodo": {
617
- "name": "Període"
618
- },
619
- "comentario": {
620
- "name": "Comentari"
621
- },
622
- "umbral": {
623
- "name": "Llindar",
624
- "state": {
625
- "microburst": "Esclafits",
626
- "rain_200_24": "Acumulada > 200 mm /24 hores",
627
- "rain_100_24": "Acumulada > 100 mm /24 hores",
628
- "unknown": "Desconegut"
629
- }
630
- },
631
- "peligro": {
632
- "name": "Perill"
633
- },
634
- "nivel": {
635
- "name": "Nivell"
636
- }
637
- }
638
- },
639
- "alert_sea": {
640
- "name": "Alerta Mar",
641
- "state": {
642
- "opened": "Obert",
643
- "closed": "Tancat"
644
- },
645
- "state_attributes": {
646
- "inicio": {
647
- "name": "Inici"
648
- },
649
- "fin": {
650
- "name": "Final"
651
- },
652
- "fecha": {
653
- "name": "Data"
654
- },
655
- "periodo": {
656
- "name": "Període"
657
- },
658
- "comentario": {
659
- "name": "Comentari"
660
- },
661
- "umbral": {
662
- "name": "Llindar",
663
- "state": {
664
- "microburst": "Esclafits",
665
- "tornadoes": "Tornados o mànegues",
666
- "waves_4": "Onades > 4.00 metres (mar brava)",
667
- "waves_2_50": "Onades > 2.50 metres (maregassa)",
668
- "unknown": "Desconegut"
669
- }
670
- },
671
- "peligro": {
672
- "name": "Perill"
673
- },
674
- "nivel": {
675
- "name": "Nivell"
676
- }
677
- }
678
- },
679
- "alert_cold": {
680
- "name": "Alerta Fred",
681
- "state": {
682
- "opened": "Obert",
683
- "closed": "Tancat"
684
- },
685
- "state_attributes": {
686
- "inicio": {
687
- "name": "Inici"
688
- },
689
- "fin": {
690
- "name": "Final"
691
- },
692
- "fecha": {
693
- "name": "Data"
694
- },
695
- "periodo": {
696
- "name": "Període"
697
- },
698
- "comentario": {
699
- "name": "Comentari"
700
- },
701
- "umbral": {
702
- "name": "Llindar",
703
- "state": {
704
- "cold_very_intense": "Fred molt intens",
705
- "cold_intense": "Fred intens",
706
- "unknown": "Desconegut"
707
- }
708
- },
709
- "peligro": {
710
- "name": "Perill"
711
- },
712
- "nivel": {
713
- "name": "Nivell"
714
- }
715
- }
716
- },
717
- "alert_warm": {
718
- "name": "Alerta Calor",
719
- "state": {
720
- "opened": "Obert",
721
- "closed": "Tancat"
722
- },
723
- "state_attributes": {
724
- "inicio": {
725
- "name": "Inici"
726
- },
727
- "fin": {
728
- "name": "Final"
729
- },
730
- "fecha": {
731
- "name": "Data"
732
- },
733
- "periodo": {
734
- "name": "Període"
735
- },
736
- "comentario": {
737
- "name": "Comentari"
738
- },
739
- "umbral": {
740
- "name": "Llindar",
741
- "state": {
742
- "heat_very_intense": "Calor molt intensa",
743
- "heat_intense": "Calor intensa",
744
- "unknown": "Desconegut"
745
- }
746
- },
747
- "peligro": {
748
- "name": "Perill"
749
- },
750
- "nivel": {
751
- "name": "Nivell"
752
- }
753
- }
754
- },
755
- "alert_warm_night": {
756
- "name": "Alerta Calor Nocturna",
757
- "state": {
758
- "opened": "Obert",
759
- "closed": "Tancat"
760
- },
761
- "state_attributes": {
762
- "inicio": {
763
- "name": "Inici"
764
- },
765
- "fin": {
766
- "name": "Final"
767
- },
768
- "fecha": {
769
- "name": "Data"
770
- },
771
- "periodo": {
772
- "name": "Període"
773
- },
774
- "comentario": {
775
- "name": "Comentari"
776
- },
777
- "umbral": {
778
- "name": "Llindar",
779
- "state": {
780
- "heat_night_very_intense": "Calor nocturna molt intensa",
781
- "heat_night_intense": "Calor nocturna intensa",
782
- "unknown": "Desconegut"
783
- }
784
- },
785
- "peligro": {
786
- "name": "Perill"
787
- },
788
- "nivel": {
789
- "name": "Nivell"
790
- }
791
- }
792
- },
793
- "alert_snow": {
794
- "name": "Alerta Neu",
795
- "state": {
796
- "opened": "Obert",
797
- "closed": "Tancat"
798
- },
799
- "state_attributes": {
800
- "inicio": {
801
- "name": "Inici"
802
- },
803
- "fin": {
804
- "name": "Final"
805
- },
806
- "fecha": {
807
- "name": "Data"
808
- },
809
- "periodo": {
810
- "name": "Període"
811
- },
812
- "comentario": {
813
- "name": "Comentari"
814
- },
815
- "umbral": {
816
- "name": "Llindar",
817
- "state": {
818
- "hail_2_cm": "Pedra de diàmetre > 2 cm",
819
- "thickness_50_at_1000": "gruix > 50 cm a cotes superiors a 1000 metres fins a 1500 metres",
820
- "thickness_30_at_800": "gruix > 30 cm a cotes superiors a 800 metres fins a 1000 metres",
821
- "thickness_20_at_600": "gruix > 20 cm a cotes superiors a 600 metres fins a 800 metres",
822
- "thickness_20_at_1000": "gruix > 20 cm a cotes superiors a 1000 metres fins a 1500 metres",
823
- "thickness_15_at_300": "gruix > 15 cm a cotes superiors a 300 metres fins a 600 metres",
824
- "thickness_10_at_800": "gruix > 10 cm a cotes superiors a 800 metres fins a 1000 metres",
825
- "thickness_5_at_300": "gruix > 5 cm a cotes inferiors a 300 metres",
826
- "thickness_5_at_600": "gruix > 5 cm a cotes superiors a 600 metres fins a 800 metres",
827
- "thickness_2_at_300": "gruix > 2 cm a cotes superiors a 300 metres fins a 600 metres",
828
- "thickness_0_at_300": "gruix 0 cm a cotes inferiors a 300 metres",
829
- "unknown": "Desconegut"
830
- }
831
- },
832
- "peligro": {
833
- "name": "Perill"
834
- },
835
- "nivel": {
836
- "name": "Nivell"
837
- }
838
- }
839
- },
840
- "sun": {
841
- "name": "Sol",
842
- "state": {
843
- "above_horizon": "Sobre l'horitzó",
844
- "below_horizon": "Sota l'horitzó"
845
- },
846
- "state_attributes": {
847
- "elevation": {
848
- "name": "Elevació"
849
- },
850
- "azimuth": {
851
- "name": "Azimut"
852
- },
853
- "rising": {
854
- "name": "Ascendent",
855
- "state": {
856
- "false": "No",
857
- "true": "Sí"
858
- }
859
- },
860
- "last_updated": {
861
- "name": "Actualitzat"
862
- },
863
- "sunrise": {
864
- "name": "Sortida del sol"
865
- },
866
- "sunset": {
867
- "name": "Posta de sol"
868
- },
869
- "noon": {
870
- "name": "Migdia"
871
- },
872
- "dawn_civil": {
873
- "name": "Alba civil"
874
- },
875
- "dusk_civil": {
876
- "name": "Crepuscle civil"
877
- },
878
- "dawn_nautical": {
879
- "name": "Alba nàutica"
880
- },
881
- "dusk_nautical": {
882
- "name": "Crepuscle nàutic"
883
- },
884
- "dawn_astronomical": {
885
- "name": "Alba astronòmica"
886
- },
887
- "dusk_astronomical": {
888
- "name": "Crepuscle astronòmic"
889
- },
890
- "midnight": {
891
- "name": "Mitjanit solar"
892
- },
893
- "daylight_duration": {
894
- "name": "Durada del dia"
895
- },
896
- "daylight_duration_hms": {
897
- "name": "Durada del dia (HH:MM:SS)"
898
- }
899
- }
900
- },
901
- "sunrise": {
902
- "name": "Sortida del sol",
903
- "state_attributes": {
904
- "friendly_time": {
905
- "name": "Hora"
906
- },
907
- "friendly_date": {
908
- "name": "Data"
909
- },
910
- "friendly_day": {
911
- "name": "Dia",
912
- "state": {
913
- "monday": "Dilluns",
914
- "tuesday": "Dimarts",
915
- "wednesday": "Dimecres",
916
- "thursday": "Dijous",
917
- "friday": "Divendres",
918
- "saturday": "Dissabte",
919
- "sunday": "Diumenge"
920
- }
921
- }
922
- }
923
- },
924
- "sunset": {
925
- "name": "Posta de sol",
926
- "state_attributes": {
927
- "friendly_time": {
928
- "name": "Hora"
929
- },
930
- "friendly_date": {
931
- "name": "Data"
932
- },
933
- "friendly_day": {
934
- "name": "Dia",
935
- "state": {
936
- "monday": "Dilluns",
937
- "tuesday": "Dimarts",
938
- "wednesday": "Dimecres",
939
- "thursday": "Dijous",
940
- "friday": "Divendres",
941
- "saturday": "Dissabte",
942
- "sunday": "Diumenge"
943
- }
944
- }
945
- }
946
- },
947
- "sun_file_status": {
948
- "name": "Arxiu Sol",
949
- "state": {
950
- "updated": "Actualitzat",
951
- "obsolete": "Obsolet"
952
- },
953
- "state_attributes": {
954
- "update_date": {
955
- "name": "Data"
956
- }
957
- }
958
- },
959
- "moon_phase": {
960
- "name": "Fase llunar",
961
- "state": {
962
- "new_moon": "Lluna nova",
963
- "waxing_crescent": "Creixent",
964
- "first_quarter": "Quart creixent",
965
- "waxing_gibbous": "Gibosa creixent",
966
- "full_moon": "Lluna plena",
967
- "waning_gibbous": "Gibosa minvant",
968
- "last_quarter": "Quart minvant",
969
- "waning_crescent": "Minvant",
970
- "unknown": "Desconegut"
971
- },
972
- "state_attributes": {
973
- "moon_day": {
974
- "name": "Dia lunar"
975
- },
976
- "moon_phase_value": {
977
- "name": "Valor fase"
978
- },
979
- "illuminated_percentage": {
980
- "name": "Il.luminada (%)"
981
- },
982
- "moon_distance": {
983
- "name": "Distància (Km)"
984
- },
985
- "moon_angular_diameter": {
986
- "name": "Diàmetre angular (arcseg)"
987
- },
988
- "lunation": {
989
- "name": "Llunació"
990
- },
991
- "lunation_duration": {
992
- "name": "Durada llunació"
993
- },
994
- "last_updated": {
995
- "name": "Actualitzat"
996
- }
997
- }
998
- },
999
- "moon_file_status": {
1000
- "name": "Arxiu LLuna",
1001
- "state": {
1002
- "updated": "Actualitzat",
1003
- "obsolete": "Obsolet"
1004
- },
1005
- "state_attributes": {
1006
- "update_date": {
1007
- "name": "Data"
1008
- }
1009
- }
1010
- },
1011
- "moonrise": {
1012
- "name": "Lluna sortida",
1013
- "state_attributes": {
1014
- "friendly_time": {
1015
- "name": "Hora"
1016
- },
1017
- "friendly_date": {
1018
- "name": "Data"
1019
- },
1020
- "friendly_day": {
1021
- "name": "Dia",
1022
- "state": {
1023
- "monday": "Dilluns",
1024
- "tuesday": "Dimarts",
1025
- "wednesday": "Dimecres",
1026
- "thursday": "Dijous",
1027
- "friday": "Divendres",
1028
- "saturday": "Dissabte",
1029
- "sunday": "Diumenge"
1030
- }
1031
- }
1032
- }
1033
- },
1034
- "moonset": {
1035
- "name": "Lluna posta",
1036
- "state_attributes": {
1037
- "friendly_time": {
1038
- "name": "Hora"
1039
- },
1040
- "friendly_date": {
1041
- "name": "Data"
1042
- },
1043
- "friendly_day": {
1044
- "name": "Dia",
1045
- "state": {
1046
- "monday": "Dilluns",
1047
- "tuesday": "Dimarts",
1048
- "wednesday": "Dimecres",
1049
- "thursday": "Dijous",
1050
- "friday": "Divendres",
1051
- "saturday": "Dissabte",
1052
- "sunday": "Diumenge"
1053
- }
1054
- }
1055
- }
1056
- }
1057
- }
1058
- }
1
+ {
2
+ "config": {
3
+ "step": {
4
+ "user": {
5
+ "description": "Introduïu l'API Key subministrada per Meteocat per poder iniciar el procés de validació.",
6
+ "title": "API Key"
7
+ },
8
+ "select_municipi": {
9
+ "description": "Seleccioneu el municipi de la llista.",
10
+ "title": "Selecció de municipi",
11
+ "data": {
12
+ "municipi": "Municipi"
13
+ }
14
+ },
15
+ "select_station": {
16
+ "description": "Seleccioneu l'estació de la llista.",
17
+ "title": "Selecció d'estació",
18
+ "data": {
19
+ "station": "Estacions"
20
+ }
21
+ },
22
+ "set_api_limits": {
23
+ "description": "Defineix els límits del pla de l'API.",
24
+ "title": "Límits de l'API"
25
+ }
26
+ },
27
+ "error": {
28
+ "bad_request": "Petició invàlida. Reviseu la vostra API Key.",
29
+ "forbidden": "Accés denegat. Reviseu els permisos de la vostra API Key.",
30
+ "rate_limit_exceeded": "Excés del límit de peticions. Si us plau, torneu-ho a provar més tard.",
31
+ "server_error": "Error del servidor. Torneu-ho a provar més tard.",
32
+ "connection_error": "Error de connexió. Reviseu la vostra connexió de xarxa.",
33
+ "unknown_error": "Error desconegut."
34
+ }
35
+ },
36
+ "options": {
37
+ "step":{
38
+ "init": {
39
+ "description": "Configureu la clau API, els límits de l'API, regenereu els fitxers d'assets o actualitzeu les coordenades.",
40
+ "title": "Opcions de configuració",
41
+ "data": {
42
+ "option": "Opcions"
43
+ }
44
+ },
45
+ "update_api_and_limits": {
46
+ "description": "Configura l'API Key i els límits de l'API.",
47
+ "title": "API Key i límits"
48
+ },
49
+ "update_limits_only": {
50
+ "description": "Configura els límits de l'API.",
51
+ "title": "Límits de l'API"
52
+ },
53
+ "update_coordinates": {
54
+ "description": "Introduïu noves coordenades. Coordenades actuals: latitud {current_latitude}, longitud {current_longitude}. Altitud actual: {current_altitude} metres.",
55
+ "title": "Actualitzar coordenades",
56
+ "data": {
57
+ "latitude": "Latitud",
58
+ "longitude": "Longitud",
59
+ "altitude": "Altitud (metres)"
60
+ }
61
+ },
62
+ "confirm_regenerate_assets": {
63
+ "description": "Regenera els arxius a 'assets'.",
64
+ "title": "Regenera 'assets'",
65
+ "data": {
66
+ "confirm": "Confirmar"
67
+ }
68
+ }
69
+ },
70
+ "error": {
71
+ "cannot_connect": "Error de conexió. Error al comprovar la nova API Key.",
72
+ "unknown": "Error desconegut al comprovar la nova API Key.",
73
+ "invalid_limit": "Límit no vàlid. El límit ha de ser un nombre positiu.",
74
+ "invalid_coordinates": "Les coordenades han d'estar dins del rang de Catalunya (latitud: 40.5 a 42.5, longitud: 0.1 a 3.3).",
75
+ "invalid_altitude": "Altitud no pot ser negativa."
76
+ }
77
+ },
78
+ "selector": {
79
+ "option": {
80
+ "options": {
81
+ "update_api_and_limits": "Actualitzar API Key i límits.",
82
+ "update_limits_only": "Actualitzar API límits.",
83
+ "regenerate_assets": "Regenera arxius a 'assets'.",
84
+ "update_coordinates": "Actualitzar coordenades (latitud i longitud) i altitud (metres)."
85
+ }
86
+ }
87
+ },
88
+ "entity": {
89
+ "sensor": {
90
+ "wind_speed": {
91
+ "name": "Vent Velocitat"
92
+ },
93
+ "wind_direction": {
94
+ "name": "Vent Direcció"
95
+ },
96
+ "wind_direction_cardinal": {
97
+ "name": "Vent Direcció Cardinal",
98
+ "state": {
99
+ "north": "N",
100
+ "north_northeast": "NNE",
101
+ "northeast": "NE",
102
+ "east_northeast": "ENE",
103
+ "east": "E",
104
+ "east_southeast": "ESE",
105
+ "southeast": "SE",
106
+ "south_southeast": "SSE",
107
+ "south": "S",
108
+ "south_southwest": "SSO",
109
+ "southwest": "SO",
110
+ "west_southwest": "OSO",
111
+ "west": "O",
112
+ "west_northwest": "ONO",
113
+ "northwest": "NO",
114
+ "north_northwest": "NNO",
115
+ "unknown": "Desconegut"
116
+ }
117
+ },
118
+ "temperature": {
119
+ "name": "Temperatura"
120
+ },
121
+ "humidity": {
122
+ "name": "Humitat"
123
+ },
124
+ "pressure": {
125
+ "name": "Pressió"
126
+ },
127
+ "precipitation": {
128
+ "name": "Precipitació"
129
+ },
130
+ "precipitation_accumulated": {
131
+ "name": "Precipitació Acumulada"
132
+ },
133
+ "precipitation_probability": {
134
+ "name": "Precipitació Probabilitat"
135
+ },
136
+ "solar_global_irradiance": {
137
+ "name": "Irradiació Solar Global"
138
+ },
139
+ "uv_index": {
140
+ "name": "UV Índex",
141
+ "state_attributes": {
142
+ "hour": {
143
+ "name": "Hora"
144
+ }
145
+ }
146
+ },
147
+ "max_temperature": {
148
+ "name": "Temperatura Max"
149
+ },
150
+ "min_temperature": {
151
+ "name": "Temperatura Min"
152
+ },
153
+ "feels_like": {
154
+ "name": "Sensació Tèrmica"
155
+ },
156
+ "wind_gust": {
157
+ "name": "Vent Ratxa"
158
+ },
159
+ "town_name": {
160
+ "name": "Municipi Nom"
161
+ },
162
+ "town_id": {
163
+ "name": "Municipi ID"
164
+ },
165
+ "station_name": {
166
+ "name": "Estació Nom"
167
+ },
168
+ "station_id": {
169
+ "name": "Estació ID"
170
+ },
171
+ "station_timestamp": {
172
+ "name": "Estació Timestamp"
173
+ },
174
+ "region_name": {
175
+ "name": "Comarca Nom"
176
+ },
177
+ "region_id": {
178
+ "name": "Comarca ID"
179
+ },
180
+ "condition": {
181
+ "name": "Estat del Cel",
182
+ "state": {
183
+ "sunny": "Assolellat",
184
+ "clear-night": "Nit serena",
185
+ "partlycloudy": "Parcialment ennuvolat",
186
+ "cloudy": "Ennuvolat",
187
+ "rainy": "Plovent",
188
+ "pouring": "Tempesta",
189
+ "lightning-rainy": "Tempesta amb llamps",
190
+ "hail": "Calamarsa",
191
+ "snowy": "Nevant",
192
+ "snow-rainy": "Aiguaneu"
193
+ },
194
+ "state_attributes": {
195
+ "hour": {
196
+ "name": "Hora"
197
+ }
198
+ }
199
+ },
200
+ "max_temperature_forecast": {
201
+ "name": "Temperatura Max Avui"
202
+ },
203
+ "min_temperature_forecast": {
204
+ "name": "Temperatura Min Avui"
205
+ },
206
+ "hourly_forecast_file_status": {
207
+ "name": "Arxiu Horari",
208
+ "state": {
209
+ "updated": "Actualitzat",
210
+ "obsolete": "Obsolet"
211
+ },
212
+ "state_attributes": {
213
+ "update_date": {
214
+ "name": "Data"
215
+ }
216
+ }
217
+ },
218
+ "daily_forecast_file_status": {
219
+ "name": "Arxiu Diari",
220
+ "state": {
221
+ "updated": "Actualitzat",
222
+ "obsolete": "Obsolet"
223
+ },
224
+ "state_attributes": {
225
+ "update_date": {
226
+ "name": "Data"
227
+ }
228
+ }
229
+ },
230
+ "uvi_file_status": {
231
+ "name": "Arxiu UVI",
232
+ "state": {
233
+ "updated": "Actualitzat",
234
+ "obsolete": "Obsolet"
235
+ },
236
+ "state_attributes": {
237
+ "update_date": {
238
+ "name": "Data"
239
+ }
240
+ }
241
+ },
242
+ "alert_file_status": {
243
+ "name": "Arxiu Alerta",
244
+ "state": {
245
+ "updated": "Actualitzat",
246
+ "obsolete": "Obsolet"
247
+ },
248
+ "state_attributes": {
249
+ "update_date": {
250
+ "name": "Data"
251
+ }
252
+ }
253
+ },
254
+ "quota_file_status": {
255
+ "name": "Arxiu Quota",
256
+ "state": {
257
+ "updated": "Actualitzat",
258
+ "obsolete": "Obsolet"
259
+ },
260
+ "state_attributes": {
261
+ "update_date": {
262
+ "name": "Data"
263
+ }
264
+ }
265
+ },
266
+ "lightning_file_status": {
267
+ "name": "Arxiu Llamps",
268
+ "state": {
269
+ "updated": "Actualitzat",
270
+ "obsolete": "Obsolet"
271
+ },
272
+ "state_attributes": {
273
+ "update_date": {
274
+ "name": "Data"
275
+ }
276
+ }
277
+ },
278
+ "lightning_region": {
279
+ "name": "Llamps Comarca",
280
+ "state_attributes": {
281
+ "cloud_cloud": {
282
+ "name": "Núvol-Núvol"
283
+ },
284
+ "cloud_ground_neg":{
285
+ "name": "Núvol-Terra Negatiu"
286
+ },
287
+ "cloud_ground_pos": {
288
+ "name": "Núvol-Terra Positiu"
289
+ }
290
+ }
291
+ },
292
+ "lightning_town": {
293
+ "name": "Llamps Municipi",
294
+ "state_attributes": {
295
+ "cloud_cloud": {
296
+ "name": "Núvol-Núvol"
297
+ },
298
+ "cloud_ground_neg":{
299
+ "name": "Núvol-Terra Negatiu"
300
+ },
301
+ "cloud_ground_pos": {
302
+ "name": "Núvol-Terra Positiu"
303
+ }
304
+ }
305
+ },
306
+ "quota_xdde": {
307
+ "name": "Quota XDDE",
308
+ "state": {
309
+ "ok": "Ok",
310
+ "exceeded": "Superada",
311
+ "unknown": "Desconegut"
312
+ },
313
+ "state_attributes": {
314
+ "period": {
315
+ "name": "Periode",
316
+ "state": {
317
+ "weekly": "Setmanal",
318
+ "monthly": "Mensual",
319
+ "annual": "Anual"
320
+ }
321
+ },
322
+ "max_queries": {
323
+ "name": "Màxim"
324
+ },
325
+ "remain_queries": {
326
+ "name": "Restants"
327
+ },
328
+ "made_queries": {
329
+ "name": "Realitzades"
330
+ }
331
+ }
332
+ },
333
+ "quota_prediccio": {
334
+ "name": "Quota Predicció",
335
+ "state": {
336
+ "ok": "Ok",
337
+ "exceeded": "Superada",
338
+ "unknown": "Desconegut"
339
+ },
340
+ "state_attributes": {
341
+ "period": {
342
+ "name": "Periode",
343
+ "state": {
344
+ "weekly": "Setmanal",
345
+ "monthly": "Mensual",
346
+ "annual": "Anual"
347
+ }
348
+ },
349
+ "max_queries": {
350
+ "name": "Màxim"
351
+ },
352
+ "remain_queries": {
353
+ "name": "Restants"
354
+ },
355
+ "made_queries": {
356
+ "name": "Realitzades"
357
+ }
358
+ }
359
+ },
360
+ "quota_basic": {
361
+ "name": "Quota Bàsica",
362
+ "state": {
363
+ "ok": "Ok",
364
+ "exceeded": "Superada",
365
+ "unknown": "Desconegut"
366
+ },
367
+ "state_attributes": {
368
+ "period": {
369
+ "name": "Periode",
370
+ "state": {
371
+ "weekly": "Setmanal",
372
+ "monthly": "Mensual",
373
+ "annual": "Anual"
374
+ }
375
+ },
376
+ "max_queries": {
377
+ "name": "Màxim"
378
+ },
379
+ "remain_queries": {
380
+ "name": "Restants"
381
+ },
382
+ "made_queries": {
383
+ "name": "Realitzades"
384
+ }
385
+ }
386
+ },
387
+ "quota_xema": {
388
+ "name": "Quota XEMA",
389
+ "state": {
390
+ "ok": "Ok",
391
+ "exceeded": "Superada",
392
+ "unknown": "Desconegut"
393
+ },
394
+ "state_attributes": {
395
+ "period": {
396
+ "name": "Periode",
397
+ "state": {
398
+ "weekly": "Setmanal",
399
+ "monthly": "Mensual",
400
+ "annual": "Anual"
401
+ }
402
+ },
403
+ "max_queries": {
404
+ "name": "Màxim"
405
+ },
406
+ "remain_queries": {
407
+ "name": "Restants"
408
+ },
409
+ "made_queries": {
410
+ "name": "Realitzades"
411
+ }
412
+ }
413
+ },
414
+ "quota_queries": {
415
+ "name": "Quota Consultes",
416
+ "state": {
417
+ "ok": "Ok",
418
+ "exceeded": "Superada",
419
+ "unknown": "Desconegut"
420
+ },
421
+ "state_attributes": {
422
+ "period": {
423
+ "name": "Periode",
424
+ "state": {
425
+ "weekly": "Setmanal",
426
+ "monthly": "Mensual",
427
+ "annual": "Anual"
428
+ }
429
+ },
430
+ "max_queries": {
431
+ "name": "Màxim"
432
+ },
433
+ "remain_queries": {
434
+ "name": "Restants"
435
+ },
436
+ "made_queries": {
437
+ "name": "Realitzades"
438
+ }
439
+ }
440
+ },
441
+ "alerts": {
442
+ "name": "Alertes",
443
+ "state_attributes": {
444
+ "alert_1": {
445
+ "name": "Alerta 1",
446
+ "state": {
447
+ "violent_weather": "Temps violent",
448
+ "rain_intensity": "Intensitat de pluja",
449
+ "rain_amount": "Acumulació de pluja",
450
+ "snow": "Neu",
451
+ "wind": "Vent",
452
+ "sea_state": "Estat de la mar",
453
+ "cold": "Fred",
454
+ "heat": "Calor",
455
+ "night_heat": "Calor nocturna"
456
+ }
457
+ },
458
+ "alert_2": {
459
+ "name": "Alerta 2",
460
+ "state": {
461
+ "violent_weather": "Temps violent",
462
+ "rain_intensity": "Intensitat de pluja",
463
+ "rain_amount": "Acumulació de pluja",
464
+ "snow": "Neu",
465
+ "wind": "Vent",
466
+ "sea_state": "Estat de la mar",
467
+ "cold": "Fred",
468
+ "heat": "Calor",
469
+ "night_heat": "Calor nocturna"
470
+ }
471
+ },
472
+ "alert_3": {
473
+ "name": "Alerta 3",
474
+ "state": {
475
+ "violent_weather": "Temps violent",
476
+ "rain_intensity": "Intensitat de pluja",
477
+ "rain_amount": "Acumulació de pluja",
478
+ "snow": "Neu",
479
+ "wind": "Vent",
480
+ "sea_state": "Estat de la mar",
481
+ "cold": "Fred",
482
+ "heat": "Calor",
483
+ "night_heat": "Calor nocturna"
484
+ }
485
+ },
486
+ "alert_4": {
487
+ "name": "Alerta 4",
488
+ "state": {
489
+ "violent_weather": "Temps violent",
490
+ "rain_intensity": "Intensitat de pluja",
491
+ "rain_amount": "Acumulació de pluja",
492
+ "snow": "Neu",
493
+ "wind": "Vent",
494
+ "sea_state": "Estat de la mar",
495
+ "cold": "Fred",
496
+ "heat": "Calor",
497
+ "night_heat": "Calor nocturna"
498
+ }
499
+ },
500
+ "alert_5": {
501
+ "name": "Alerta 5",
502
+ "state": {
503
+ "violent_weather": "Temps violent",
504
+ "rain_intensity": "Intensitat de pluja",
505
+ "rain_amount": "Acumulació de pluja",
506
+ "snow": "Neu",
507
+ "wind": "Vent",
508
+ "sea_state": "Estat de la mar",
509
+ "cold": "Fred",
510
+ "heat": "Calor",
511
+ "night_heat": "Calor nocturna"
512
+ }
513
+ }
514
+ }
515
+ },
516
+ "alert_wind": {
517
+ "name": "Alerta Vent",
518
+ "state": {
519
+ "opened": "Obert",
520
+ "closed": "Tancat"
521
+ },
522
+ "state_attributes": {
523
+ "inicio": {
524
+ "name": "Inici"
525
+ },
526
+ "fin": {
527
+ "name": "Final"
528
+ },
529
+ "fecha": {
530
+ "name": "Data"
531
+ },
532
+ "periodo": {
533
+ "name": "Període"
534
+ },
535
+ "comentario": {
536
+ "name": "Comentari"
537
+ },
538
+ "umbral": {
539
+ "name": "Llindar",
540
+ "state": {
541
+ "wind_gusts_25": "Ratxes de vent > 25 m/s",
542
+ "microburst": "Esclafits",
543
+ "tornadoes": "Tornados o mànegues",
544
+ "wind_40": "Ratxa màxima > 40 m/s",
545
+ "wind_35": "Ratxa màxima > 35 m/s",
546
+ "wind_30": "Ratxa màxima > 30 m/s",
547
+ "wind_25": "Ratxa màxima > 25 m/s",
548
+ "wind_20": "Ratxa màxima > 20 m/s",
549
+ "unknown": "Desconegut"
550
+ }
551
+ },
552
+ "peligro": {
553
+ "name": "Perill"
554
+ },
555
+ "nivel": {
556
+ "name": "Nivell"
557
+ }
558
+ }
559
+ },
560
+ "alert_rain_intensity": {
561
+ "name": "Alerta Intensitat de Pluja",
562
+ "state": {
563
+ "opened": "Obert",
564
+ "closed": "Tancat"
565
+ },
566
+ "state_attributes": {
567
+ "inicio": {
568
+ "name": "Inici"
569
+ },
570
+ "fin": {
571
+ "name": "Final"
572
+ },
573
+ "fecha": {
574
+ "name": "Data"
575
+ },
576
+ "periodo": {
577
+ "name": "Període"
578
+ },
579
+ "comentario": {
580
+ "name": "Comentari"
581
+ },
582
+ "umbral": {
583
+ "name": "Llindar",
584
+ "state": {
585
+ "hail_2_cm": "Pedra de diàmetre > 2 cm",
586
+ "microburst": "Esclafits",
587
+ "intensity_40_30": "Intensitat > 40 mm / 30 minuts",
588
+ "intensity_20_30": "Intensitat > 20 mm / 30 minuts",
589
+ "unknown": "Desconegut"
590
+ }
591
+ },
592
+ "peligro": {
593
+ "name": "Perill"
594
+ },
595
+ "nivel": {
596
+ "name": "Nivell"
597
+ }
598
+ }
599
+ },
600
+ "alert_rain": {
601
+ "name": "Alerta Pluja",
602
+ "state": {
603
+ "opened": "Obert",
604
+ "closed": "Tancat"
605
+ },
606
+ "state_attributes": {
607
+ "inicio": {
608
+ "name": "Inici"
609
+ },
610
+ "fin": {
611
+ "name": "Final"
612
+ },
613
+ "fecha": {
614
+ "name": "Data"
615
+ },
616
+ "periodo": {
617
+ "name": "Període"
618
+ },
619
+ "comentario": {
620
+ "name": "Comentari"
621
+ },
622
+ "umbral": {
623
+ "name": "Llindar",
624
+ "state": {
625
+ "microburst": "Esclafits",
626
+ "rain_200_24": "Acumulada > 200 mm /24 hores",
627
+ "rain_100_24": "Acumulada > 100 mm /24 hores",
628
+ "unknown": "Desconegut"
629
+ }
630
+ },
631
+ "peligro": {
632
+ "name": "Perill"
633
+ },
634
+ "nivel": {
635
+ "name": "Nivell"
636
+ }
637
+ }
638
+ },
639
+ "alert_sea": {
640
+ "name": "Alerta Mar",
641
+ "state": {
642
+ "opened": "Obert",
643
+ "closed": "Tancat"
644
+ },
645
+ "state_attributes": {
646
+ "inicio": {
647
+ "name": "Inici"
648
+ },
649
+ "fin": {
650
+ "name": "Final"
651
+ },
652
+ "fecha": {
653
+ "name": "Data"
654
+ },
655
+ "periodo": {
656
+ "name": "Període"
657
+ },
658
+ "comentario": {
659
+ "name": "Comentari"
660
+ },
661
+ "umbral": {
662
+ "name": "Llindar",
663
+ "state": {
664
+ "microburst": "Esclafits",
665
+ "tornadoes": "Tornados o mànegues",
666
+ "waves_4": "Onades > 4.00 metres (mar brava)",
667
+ "waves_2_50": "Onades > 2.50 metres (maregassa)",
668
+ "unknown": "Desconegut"
669
+ }
670
+ },
671
+ "peligro": {
672
+ "name": "Perill"
673
+ },
674
+ "nivel": {
675
+ "name": "Nivell"
676
+ }
677
+ }
678
+ },
679
+ "alert_cold": {
680
+ "name": "Alerta Fred",
681
+ "state": {
682
+ "opened": "Obert",
683
+ "closed": "Tancat"
684
+ },
685
+ "state_attributes": {
686
+ "inicio": {
687
+ "name": "Inici"
688
+ },
689
+ "fin": {
690
+ "name": "Final"
691
+ },
692
+ "fecha": {
693
+ "name": "Data"
694
+ },
695
+ "periodo": {
696
+ "name": "Període"
697
+ },
698
+ "comentario": {
699
+ "name": "Comentari"
700
+ },
701
+ "umbral": {
702
+ "name": "Llindar",
703
+ "state": {
704
+ "cold_very_intense": "Fred molt intens",
705
+ "cold_intense": "Fred intens",
706
+ "unknown": "Desconegut"
707
+ }
708
+ },
709
+ "peligro": {
710
+ "name": "Perill"
711
+ },
712
+ "nivel": {
713
+ "name": "Nivell"
714
+ }
715
+ }
716
+ },
717
+ "alert_warm": {
718
+ "name": "Alerta Calor",
719
+ "state": {
720
+ "opened": "Obert",
721
+ "closed": "Tancat"
722
+ },
723
+ "state_attributes": {
724
+ "inicio": {
725
+ "name": "Inici"
726
+ },
727
+ "fin": {
728
+ "name": "Final"
729
+ },
730
+ "fecha": {
731
+ "name": "Data"
732
+ },
733
+ "periodo": {
734
+ "name": "Període"
735
+ },
736
+ "comentario": {
737
+ "name": "Comentari"
738
+ },
739
+ "umbral": {
740
+ "name": "Llindar",
741
+ "state": {
742
+ "heat_very_intense": "Calor molt intensa",
743
+ "heat_intense": "Calor intensa",
744
+ "unknown": "Desconegut"
745
+ }
746
+ },
747
+ "peligro": {
748
+ "name": "Perill"
749
+ },
750
+ "nivel": {
751
+ "name": "Nivell"
752
+ }
753
+ }
754
+ },
755
+ "alert_warm_night": {
756
+ "name": "Alerta Calor Nocturna",
757
+ "state": {
758
+ "opened": "Obert",
759
+ "closed": "Tancat"
760
+ },
761
+ "state_attributes": {
762
+ "inicio": {
763
+ "name": "Inici"
764
+ },
765
+ "fin": {
766
+ "name": "Final"
767
+ },
768
+ "fecha": {
769
+ "name": "Data"
770
+ },
771
+ "periodo": {
772
+ "name": "Període"
773
+ },
774
+ "comentario": {
775
+ "name": "Comentari"
776
+ },
777
+ "umbral": {
778
+ "name": "Llindar",
779
+ "state": {
780
+ "heat_night_very_intense": "Calor nocturna molt intensa",
781
+ "heat_night_intense": "Calor nocturna intensa",
782
+ "unknown": "Desconegut"
783
+ }
784
+ },
785
+ "peligro": {
786
+ "name": "Perill"
787
+ },
788
+ "nivel": {
789
+ "name": "Nivell"
790
+ }
791
+ }
792
+ },
793
+ "alert_snow": {
794
+ "name": "Alerta Neu",
795
+ "state": {
796
+ "opened": "Obert",
797
+ "closed": "Tancat"
798
+ },
799
+ "state_attributes": {
800
+ "inicio": {
801
+ "name": "Inici"
802
+ },
803
+ "fin": {
804
+ "name": "Final"
805
+ },
806
+ "fecha": {
807
+ "name": "Data"
808
+ },
809
+ "periodo": {
810
+ "name": "Període"
811
+ },
812
+ "comentario": {
813
+ "name": "Comentari"
814
+ },
815
+ "umbral": {
816
+ "name": "Llindar",
817
+ "state": {
818
+ "hail_2_cm": "Pedra de diàmetre > 2 cm",
819
+ "thickness_50_at_1000": "gruix > 50 cm a cotes superiors a 1000 metres fins a 1500 metres",
820
+ "thickness_30_at_800": "gruix > 30 cm a cotes superiors a 800 metres fins a 1000 metres",
821
+ "thickness_20_at_600": "gruix > 20 cm a cotes superiors a 600 metres fins a 800 metres",
822
+ "thickness_20_at_1000": "gruix > 20 cm a cotes superiors a 1000 metres fins a 1500 metres",
823
+ "thickness_15_at_300": "gruix > 15 cm a cotes superiors a 300 metres fins a 600 metres",
824
+ "thickness_10_at_800": "gruix > 10 cm a cotes superiors a 800 metres fins a 1000 metres",
825
+ "thickness_5_at_300": "gruix > 5 cm a cotes inferiors a 300 metres",
826
+ "thickness_5_at_600": "gruix > 5 cm a cotes superiors a 600 metres fins a 800 metres",
827
+ "thickness_2_at_400": "gruix > 2 cm a cotes superiors a 400 metres",
828
+ "thickness_2_at_300": "gruix > 2 cm a cotes superiors a 300 metres fins a 600 metres",
829
+ "thickness_0_at_300": "gruix ≥ 0 cm a cotes inferiors a 300 metres",
830
+ "thickness_0_at_200": "gruix ≥ 0 cm a cotes superiors a 200 metres",
831
+ "unknown": "Desconegut"
832
+ }
833
+ },
834
+ "peligro": {
835
+ "name": "Perill"
836
+ },
837
+ "nivel": {
838
+ "name": "Nivell"
839
+ }
840
+ }
841
+ },
842
+ "sun": {
843
+ "name": "Sol",
844
+ "state": {
845
+ "above_horizon": "Sobre l'horitzó",
846
+ "below_horizon": "Sota l'horitzó"
847
+ },
848
+ "state_attributes": {
849
+ "elevation": {
850
+ "name": "Elevació"
851
+ },
852
+ "azimuth": {
853
+ "name": "Azimut"
854
+ },
855
+ "rising": {
856
+ "name": "Ascendent",
857
+ "state": {
858
+ "false": "No",
859
+ "true": "Sí"
860
+ }
861
+ },
862
+ "last_updated": {
863
+ "name": "Actualitzat"
864
+ },
865
+ "sunrise": {
866
+ "name": "Sortida del sol"
867
+ },
868
+ "sunset": {
869
+ "name": "Posta de sol"
870
+ },
871
+ "noon": {
872
+ "name": "Migdia"
873
+ },
874
+ "dawn_civil": {
875
+ "name": "Alba civil"
876
+ },
877
+ "dusk_civil": {
878
+ "name": "Crepuscle civil"
879
+ },
880
+ "dawn_nautical": {
881
+ "name": "Alba nàutica"
882
+ },
883
+ "dusk_nautical": {
884
+ "name": "Crepuscle nàutic"
885
+ },
886
+ "dawn_astronomical": {
887
+ "name": "Alba astronòmica"
888
+ },
889
+ "dusk_astronomical": {
890
+ "name": "Crepuscle astronòmic"
891
+ },
892
+ "midnight": {
893
+ "name": "Mitjanit solar"
894
+ },
895
+ "daylight_duration": {
896
+ "name": "Durada del dia"
897
+ },
898
+ "daylight_duration_hms": {
899
+ "name": "Durada del dia (HH:MM:SS)"
900
+ }
901
+ }
902
+ },
903
+ "sunrise": {
904
+ "name": "Sortida del sol",
905
+ "state_attributes": {
906
+ "friendly_time": {
907
+ "name": "Hora"
908
+ },
909
+ "friendly_date": {
910
+ "name": "Data"
911
+ },
912
+ "friendly_day": {
913
+ "name": "Dia",
914
+ "state": {
915
+ "monday": "Dilluns",
916
+ "tuesday": "Dimarts",
917
+ "wednesday": "Dimecres",
918
+ "thursday": "Dijous",
919
+ "friday": "Divendres",
920
+ "saturday": "Dissabte",
921
+ "sunday": "Diumenge"
922
+ }
923
+ }
924
+ }
925
+ },
926
+ "sunset": {
927
+ "name": "Posta de sol",
928
+ "state_attributes": {
929
+ "friendly_time": {
930
+ "name": "Hora"
931
+ },
932
+ "friendly_date": {
933
+ "name": "Data"
934
+ },
935
+ "friendly_day": {
936
+ "name": "Dia",
937
+ "state": {
938
+ "monday": "Dilluns",
939
+ "tuesday": "Dimarts",
940
+ "wednesday": "Dimecres",
941
+ "thursday": "Dijous",
942
+ "friday": "Divendres",
943
+ "saturday": "Dissabte",
944
+ "sunday": "Diumenge"
945
+ }
946
+ }
947
+ }
948
+ },
949
+ "sun_file_status": {
950
+ "name": "Arxiu Sol",
951
+ "state": {
952
+ "updated": "Actualitzat",
953
+ "obsolete": "Obsolet"
954
+ },
955
+ "state_attributes": {
956
+ "update_date": {
957
+ "name": "Data"
958
+ }
959
+ }
960
+ },
961
+ "moon_phase": {
962
+ "name": "Fase llunar",
963
+ "state": {
964
+ "new_moon": "Lluna nova",
965
+ "waxing_crescent": "Creixent",
966
+ "first_quarter": "Quart creixent",
967
+ "waxing_gibbous": "Gibosa creixent",
968
+ "full_moon": "Lluna plena",
969
+ "waning_gibbous": "Gibosa minvant",
970
+ "last_quarter": "Quart minvant",
971
+ "waning_crescent": "Minvant",
972
+ "unknown": "Desconegut"
973
+ },
974
+ "state_attributes": {
975
+ "moon_day": {
976
+ "name": "Dia lunar"
977
+ },
978
+ "moon_phase_value": {
979
+ "name": "Valor fase"
980
+ },
981
+ "illuminated_percentage": {
982
+ "name": "Il.luminada (%)"
983
+ },
984
+ "moon_distance": {
985
+ "name": "Distància (Km)"
986
+ },
987
+ "moon_angular_diameter": {
988
+ "name": "Diàmetre angular (arcseg)"
989
+ },
990
+ "lunation": {
991
+ "name": "Llunació"
992
+ },
993
+ "lunation_duration": {
994
+ "name": "Durada llunació"
995
+ },
996
+ "last_updated": {
997
+ "name": "Actualitzat"
998
+ }
999
+ }
1000
+ },
1001
+ "moon_file_status": {
1002
+ "name": "Arxiu LLuna",
1003
+ "state": {
1004
+ "updated": "Actualitzat",
1005
+ "obsolete": "Obsolet"
1006
+ },
1007
+ "state_attributes": {
1008
+ "update_date": {
1009
+ "name": "Data"
1010
+ }
1011
+ }
1012
+ },
1013
+ "moonrise": {
1014
+ "name": "Lluna sortida",
1015
+ "state_attributes": {
1016
+ "friendly_time": {
1017
+ "name": "Hora"
1018
+ },
1019
+ "friendly_date": {
1020
+ "name": "Data"
1021
+ },
1022
+ "friendly_day": {
1023
+ "name": "Dia",
1024
+ "state": {
1025
+ "monday": "Dilluns",
1026
+ "tuesday": "Dimarts",
1027
+ "wednesday": "Dimecres",
1028
+ "thursday": "Dijous",
1029
+ "friday": "Divendres",
1030
+ "saturday": "Dissabte",
1031
+ "sunday": "Diumenge"
1032
+ }
1033
+ }
1034
+ }
1035
+ },
1036
+ "moonset": {
1037
+ "name": "Lluna posta",
1038
+ "state_attributes": {
1039
+ "friendly_time": {
1040
+ "name": "Hora"
1041
+ },
1042
+ "friendly_date": {
1043
+ "name": "Data"
1044
+ },
1045
+ "friendly_day": {
1046
+ "name": "Dia",
1047
+ "state": {
1048
+ "monday": "Dilluns",
1049
+ "tuesday": "Dimarts",
1050
+ "wednesday": "Dimecres",
1051
+ "thursday": "Dijous",
1052
+ "friday": "Divendres",
1053
+ "saturday": "Dissabte",
1054
+ "sunday": "Diumenge"
1055
+ }
1056
+ }
1057
+ }
1058
+ }
1059
+ }
1060
+ }
1059
1061
  }