meteocat 3.1.0 → 4.0.0
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/.github/ISSUE_TEMPLATE/bug_report.md +45 -45
- package/.github/ISSUE_TEMPLATE/config.yml +8 -8
- package/.github/ISSUE_TEMPLATE/improvement.md +39 -39
- package/.github/ISSUE_TEMPLATE/new_function.md +41 -41
- package/.github/labels.yml +63 -63
- package/.github/workflows/autocloser.yaml +27 -27
- package/.github/workflows/close-on-label.yml +48 -48
- package/.github/workflows/force-sync-labels.yml +18 -18
- package/.github/workflows/hassfest.yaml +13 -13
- package/.github/workflows/publish-zip.yml +67 -67
- package/.github/workflows/release.yml +41 -41
- package/.github/workflows/stale.yml +63 -63
- package/.github/workflows/sync-gitlab.yml +107 -107
- package/.github/workflows/sync-labels.yml +21 -21
- package/.github/workflows/validate.yaml +16 -16
- package/.pre-commit-config.yaml +37 -37
- package/.releaserc +37 -37
- package/AUTHORS.md +13 -13
- package/CHANGELOG.md +954 -898
- package/README.md +207 -204
- package/conftest.py +11 -11
- package/custom_components/meteocat/__init__.py +298 -293
- package/custom_components/meteocat/condition.py +63 -59
- package/custom_components/meteocat/config_flow.py +613 -435
- package/custom_components/meteocat/const.py +132 -120
- package/custom_components/meteocat/coordinator.py +1040 -205
- package/custom_components/meteocat/helpers.py +58 -63
- package/custom_components/meteocat/manifest.json +25 -24
- package/custom_components/meteocat/options_flow.py +287 -277
- package/custom_components/meteocat/sensor.py +366 -4
- package/custom_components/meteocat/strings.json +1058 -867
- package/custom_components/meteocat/translations/ca.json +1058 -867
- package/custom_components/meteocat/translations/en.json +1058 -867
- package/custom_components/meteocat/translations/es.json +1058 -867
- package/custom_components/meteocat/version.py +1 -1
- package/custom_components/meteocat/weather.py +218 -218
- package/filetree.py +48 -48
- package/filetree.txt +79 -70
- package/hacs.json +8 -8
- package/images/daily_forecast_2_alerts.png +0 -0
- package/images/daily_forecast_no_alerts.png +0 -0
- package/images/diagnostic_sensors.png +0 -0
- package/images/dynamic_sensors.png +0 -0
- package/images/options.png +0 -0
- package/images/regenerate_assets.png +0 -0
- package/images/setup_options.png +0 -0
- package/images/system_options.png +0 -0
- package/info.md +11 -11
- package/package.json +22 -22
- package/poetry.lock +3222 -3222
- package/pyproject.toml +68 -68
- package/requirements.test.txt +3 -3
- package/setup.cfg +64 -64
- package/setup.py +10 -10
- package/tests/bandit.yaml +17 -17
- package/tests/conftest.py +19 -19
- package/tests/test_init.py +9 -9
|
@@ -1,868 +1,1059 @@
|
|
|
1
|
-
{
|
|
2
|
-
"config": {
|
|
3
|
-
"step": {
|
|
4
|
-
"user": {
|
|
5
|
-
"description": "Enter your Meteocat API Key to validate it.",
|
|
6
|
-
"title": "API Key"
|
|
7
|
-
},
|
|
8
|
-
"select_municipi": {
|
|
9
|
-
"description": "Select a municipality from the list.",
|
|
10
|
-
"title": "Municipality Selection",
|
|
11
|
-
"data": {
|
|
12
|
-
"municipi": "Municipality"
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
"select_station": {
|
|
16
|
-
"description": "Select a station.",
|
|
17
|
-
"title": "Station Selection",
|
|
18
|
-
"data": {
|
|
19
|
-
"station": "Stations"
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
"set_api_limits": {
|
|
23
|
-
"description": "Set the API limits.",
|
|
24
|
-
"title": "API limits"
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
"error": {
|
|
28
|
-
"bad_request": "Invalid request. Please check your API Key.",
|
|
29
|
-
"forbidden": "Access denied. Check your API Key permissions.",
|
|
30
|
-
"rate_limit_exceeded": "Rate limit exceeded. Please try again later.",
|
|
31
|
-
"server_error": "Server error. Please try again later.",
|
|
32
|
-
"connection_error": "Connection error. Please check your network.",
|
|
33
|
-
"unknown_error": "An unknown error occurred."
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
"options": {
|
|
37
|
-
"step": {
|
|
38
|
-
"init": {
|
|
39
|
-
"description": "Setup the API Key, the API limits, regenerate 'assets' files, or update coordinates.",
|
|
40
|
-
"title": "Setup options",
|
|
41
|
-
"data": {
|
|
42
|
-
"option": "Options"
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
"update_api_and_limits": {
|
|
46
|
-
"description": "Setup the API Key and the API limits.",
|
|
47
|
-
"title": "API Key and limits"
|
|
48
|
-
},
|
|
49
|
-
"update_limits_only": {
|
|
50
|
-
"description": "Setup the API limits.",
|
|
51
|
-
"title": "API limits"
|
|
52
|
-
},
|
|
53
|
-
"update_coordinates": {
|
|
54
|
-
"description": "Enter new coordinates. Current coordinates: latitude {current_latitude}, longitude {current_longitude}.",
|
|
55
|
-
"title": "Update Coordinates",
|
|
56
|
-
"data": {
|
|
57
|
-
"latitude": "Latitude",
|
|
58
|
-
"longitude": "Longitude"
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
"
|
|
109
|
-
"
|
|
110
|
-
"
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
"
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
"
|
|
184
|
-
"
|
|
185
|
-
"
|
|
186
|
-
"
|
|
187
|
-
"
|
|
188
|
-
"
|
|
189
|
-
"
|
|
190
|
-
"
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
"
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
"
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
"
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
"
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
"
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
"
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
"
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
"
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
"
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
"
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
"
|
|
448
|
-
"
|
|
449
|
-
"
|
|
450
|
-
"
|
|
451
|
-
"
|
|
452
|
-
"
|
|
453
|
-
"
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
"
|
|
462
|
-
"
|
|
463
|
-
"
|
|
464
|
-
"
|
|
465
|
-
"
|
|
466
|
-
"
|
|
467
|
-
"
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
"
|
|
476
|
-
"
|
|
477
|
-
"
|
|
478
|
-
"
|
|
479
|
-
"
|
|
480
|
-
"
|
|
481
|
-
"
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
"
|
|
490
|
-
"
|
|
491
|
-
"
|
|
492
|
-
"
|
|
493
|
-
"
|
|
494
|
-
"
|
|
495
|
-
"
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
"
|
|
504
|
-
"
|
|
505
|
-
"
|
|
506
|
-
"
|
|
507
|
-
"
|
|
508
|
-
"
|
|
509
|
-
"
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
"
|
|
542
|
-
"
|
|
543
|
-
"
|
|
544
|
-
"
|
|
545
|
-
"
|
|
546
|
-
"
|
|
547
|
-
"
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
"
|
|
586
|
-
"
|
|
587
|
-
"
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
"
|
|
626
|
-
"
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
"
|
|
665
|
-
"
|
|
666
|
-
"
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
"
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
"
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
"
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
"
|
|
819
|
-
"
|
|
820
|
-
"
|
|
821
|
-
"
|
|
822
|
-
"
|
|
823
|
-
"
|
|
824
|
-
"
|
|
825
|
-
"
|
|
826
|
-
"
|
|
827
|
-
"
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
1
|
+
{
|
|
2
|
+
"config": {
|
|
3
|
+
"step": {
|
|
4
|
+
"user": {
|
|
5
|
+
"description": "Enter your Meteocat API Key to validate it.",
|
|
6
|
+
"title": "API Key"
|
|
7
|
+
},
|
|
8
|
+
"select_municipi": {
|
|
9
|
+
"description": "Select a municipality from the list.",
|
|
10
|
+
"title": "Municipality Selection",
|
|
11
|
+
"data": {
|
|
12
|
+
"municipi": "Municipality"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"select_station": {
|
|
16
|
+
"description": "Select a station.",
|
|
17
|
+
"title": "Station Selection",
|
|
18
|
+
"data": {
|
|
19
|
+
"station": "Stations"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"set_api_limits": {
|
|
23
|
+
"description": "Set the API limits.",
|
|
24
|
+
"title": "API limits"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"error": {
|
|
28
|
+
"bad_request": "Invalid request. Please check your API Key.",
|
|
29
|
+
"forbidden": "Access denied. Check your API Key permissions.",
|
|
30
|
+
"rate_limit_exceeded": "Rate limit exceeded. Please try again later.",
|
|
31
|
+
"server_error": "Server error. Please try again later.",
|
|
32
|
+
"connection_error": "Connection error. Please check your network.",
|
|
33
|
+
"unknown_error": "An unknown error occurred."
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"options": {
|
|
37
|
+
"step": {
|
|
38
|
+
"init": {
|
|
39
|
+
"description": "Setup the API Key, the API limits, regenerate 'assets' files, or update coordinates.",
|
|
40
|
+
"title": "Setup options",
|
|
41
|
+
"data": {
|
|
42
|
+
"option": "Options"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"update_api_and_limits": {
|
|
46
|
+
"description": "Setup the API Key and the API limits.",
|
|
47
|
+
"title": "API Key and limits"
|
|
48
|
+
},
|
|
49
|
+
"update_limits_only": {
|
|
50
|
+
"description": "Setup the API limits.",
|
|
51
|
+
"title": "API limits"
|
|
52
|
+
},
|
|
53
|
+
"update_coordinates": {
|
|
54
|
+
"description": "Enter new coordinates. Current coordinates: latitude {current_latitude}, longitude {current_longitude}. Current altitude: {current_altitude} meters.",
|
|
55
|
+
"title": "Update Coordinates",
|
|
56
|
+
"data": {
|
|
57
|
+
"latitude": "Latitude",
|
|
58
|
+
"longitude": "Longitude",
|
|
59
|
+
"altitude": "Altitude (meters)"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"confirm_regenerate_assets": {
|
|
63
|
+
"description": "Regenerate missing assets files.",
|
|
64
|
+
"title": "Regenerate assets",
|
|
65
|
+
"data": {
|
|
66
|
+
"confirm": "Confirm"
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"error": {
|
|
71
|
+
"cannot_connect": "Cannot connect. Error when checking the new API Key.",
|
|
72
|
+
"unknown": "Unknown error when checking the new API Key.",
|
|
73
|
+
"invalid_limit": "Invalid limit. The limit must be a positive number.",
|
|
74
|
+
"invalid_coordinates": "Coordinates must be within Catalonia's range (latitude: 40.5 to 42.5, longitude: 0.1 to 3.3).",
|
|
75
|
+
"invalid_altitude": "Altitude must be a non-negative number."
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"selector": {
|
|
79
|
+
"option": {
|
|
80
|
+
"options": {
|
|
81
|
+
"update_api_and_limits": "Update API Key and limits.",
|
|
82
|
+
"update_limits_only": "Update API limits.",
|
|
83
|
+
"regenerate_assets": "Regenerate 'assets' files.",
|
|
84
|
+
"update_coordinates": "Update coordinates (latitude and longitude) and altitude (meters)."
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"entity": {
|
|
89
|
+
"sensor": {
|
|
90
|
+
"wind_speed": {
|
|
91
|
+
"name": "Wind Speed"
|
|
92
|
+
},
|
|
93
|
+
"wind_direction": {
|
|
94
|
+
"name": "Wind Direction"
|
|
95
|
+
},
|
|
96
|
+
"wind_direction_cardinal": {
|
|
97
|
+
"name": "Wind Direction 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": "SSW",
|
|
109
|
+
"southwest": "SW",
|
|
110
|
+
"west_southwest": "WSW",
|
|
111
|
+
"west": "W",
|
|
112
|
+
"west_northwest": "WNW",
|
|
113
|
+
"northwest": "NW",
|
|
114
|
+
"north_northwest": "NNW",
|
|
115
|
+
"unknown": "Unknown"
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"temperature": {
|
|
119
|
+
"name": "Temperature"
|
|
120
|
+
},
|
|
121
|
+
"humidity": {
|
|
122
|
+
"name": "Humidity"
|
|
123
|
+
},
|
|
124
|
+
"pressure": {
|
|
125
|
+
"name": "Pressure"
|
|
126
|
+
},
|
|
127
|
+
"precipitation": {
|
|
128
|
+
"name": "Precipitation"
|
|
129
|
+
},
|
|
130
|
+
"precipitation_accumulated": {
|
|
131
|
+
"name": "Precipitation Accumulated"
|
|
132
|
+
},
|
|
133
|
+
"precipitation_probability": {
|
|
134
|
+
"name": "Precipitation Probability"
|
|
135
|
+
},
|
|
136
|
+
"solar_global_irradiance": {
|
|
137
|
+
"name": "Solar Global Irradiance"
|
|
138
|
+
},
|
|
139
|
+
"uv_index": {
|
|
140
|
+
"name": "UV Index",
|
|
141
|
+
"state_attributes": {
|
|
142
|
+
"hour": {
|
|
143
|
+
"name": "Hour"
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"max_temperature": {
|
|
148
|
+
"name": "Max Temperature"
|
|
149
|
+
},
|
|
150
|
+
"min_temperature": {
|
|
151
|
+
"name": "Min Temperature"
|
|
152
|
+
},
|
|
153
|
+
"feels_like": {
|
|
154
|
+
"name": "Feels Like"
|
|
155
|
+
},
|
|
156
|
+
"wind_gust": {
|
|
157
|
+
"name": "Wind Gust"
|
|
158
|
+
},
|
|
159
|
+
"town_name": {
|
|
160
|
+
"name": "Town Name"
|
|
161
|
+
},
|
|
162
|
+
"town_id": {
|
|
163
|
+
"name": "Town ID"
|
|
164
|
+
},
|
|
165
|
+
"station_name": {
|
|
166
|
+
"name": "Station Name"
|
|
167
|
+
},
|
|
168
|
+
"station_id": {
|
|
169
|
+
"name": "Station ID"
|
|
170
|
+
},
|
|
171
|
+
"station_timestamp": {
|
|
172
|
+
"name": "Station Timestamp"
|
|
173
|
+
},
|
|
174
|
+
"region_name": {
|
|
175
|
+
"name": "Region Name"
|
|
176
|
+
},
|
|
177
|
+
"region_id": {
|
|
178
|
+
"name": "Region ID"
|
|
179
|
+
},
|
|
180
|
+
"condition": {
|
|
181
|
+
"name": "Condition",
|
|
182
|
+
"state": {
|
|
183
|
+
"sunny": "Sunny",
|
|
184
|
+
"clear-night": "Clear Night",
|
|
185
|
+
"partlycloudy": "Partly Cloudy",
|
|
186
|
+
"cloudy": "Cloudy",
|
|
187
|
+
"rainy": "Rainy",
|
|
188
|
+
"pouring": "Pouring",
|
|
189
|
+
"lightning-rainy": "Lightning Rainy",
|
|
190
|
+
"hail": "Hail",
|
|
191
|
+
"snowy": "Snowy",
|
|
192
|
+
"snow-rainy": "Snow Rainy"
|
|
193
|
+
},
|
|
194
|
+
"state_attributes": {
|
|
195
|
+
"hour": {
|
|
196
|
+
"name": "Hour"
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
"max_temperature_forecast": {
|
|
201
|
+
"name": "Max Temperature Today"
|
|
202
|
+
},
|
|
203
|
+
"min_temperature_forecast": {
|
|
204
|
+
"name": "Min Temperature Today"
|
|
205
|
+
},
|
|
206
|
+
"hourly_forecast_file_status": {
|
|
207
|
+
"name": "Hourly File",
|
|
208
|
+
"state": {
|
|
209
|
+
"updated": "Updated",
|
|
210
|
+
"obsolete": "Obsolete"
|
|
211
|
+
},
|
|
212
|
+
"state_attributes": {
|
|
213
|
+
"update_date": {
|
|
214
|
+
"name": "Date"
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
"daily_forecast_file_status": {
|
|
219
|
+
"name": "Daily File",
|
|
220
|
+
"state": {
|
|
221
|
+
"updated": "Updated",
|
|
222
|
+
"obsolete": "Obsolete"
|
|
223
|
+
},
|
|
224
|
+
"state_attributes": {
|
|
225
|
+
"update_date": {
|
|
226
|
+
"name": "Date"
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
"uvi_file_status": {
|
|
231
|
+
"name": "Uvi File",
|
|
232
|
+
"state": {
|
|
233
|
+
"updated": "Updated",
|
|
234
|
+
"obsolete": "Obsolete"
|
|
235
|
+
},
|
|
236
|
+
"state_attributes": {
|
|
237
|
+
"update_date": {
|
|
238
|
+
"name": "Date"
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
"alert_file_status": {
|
|
243
|
+
"name": "Alert File",
|
|
244
|
+
"state": {
|
|
245
|
+
"updated": "Updated",
|
|
246
|
+
"obsolete": "Obsolete"
|
|
247
|
+
},
|
|
248
|
+
"state_attributes": {
|
|
249
|
+
"update_date": {
|
|
250
|
+
"name": "Date"
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
"quota_file_status": {
|
|
255
|
+
"name": "Quota File",
|
|
256
|
+
"state": {
|
|
257
|
+
"updated": "Updated",
|
|
258
|
+
"obsolete": "Obsolete"
|
|
259
|
+
},
|
|
260
|
+
"state_attributes": {
|
|
261
|
+
"update_date": {
|
|
262
|
+
"name": "Date"
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
"lightning_file_status": {
|
|
267
|
+
"name": "Lightning File",
|
|
268
|
+
"state": {
|
|
269
|
+
"updated": "Updated",
|
|
270
|
+
"obsolete": "Obsolete"
|
|
271
|
+
},
|
|
272
|
+
"state_attributes": {
|
|
273
|
+
"update_date": {
|
|
274
|
+
"name": "Date"
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
},
|
|
278
|
+
"lightning_region": {
|
|
279
|
+
"name": "Lightning Region",
|
|
280
|
+
"state_attributes": {
|
|
281
|
+
"cloud_cloud": {
|
|
282
|
+
"name": "Cloud-Cloud"
|
|
283
|
+
},
|
|
284
|
+
"cloud_ground_neg": {
|
|
285
|
+
"name": "Cloud-Ground Negative"
|
|
286
|
+
},
|
|
287
|
+
"cloud_ground_pos": {
|
|
288
|
+
"name": "Cloud-Ground Positive"
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
"lightning_town": {
|
|
293
|
+
"name": "Lightning Town",
|
|
294
|
+
"state_attributes": {
|
|
295
|
+
"cloud_cloud": {
|
|
296
|
+
"name": "Cloud-Cloud"
|
|
297
|
+
},
|
|
298
|
+
"cloud_ground_neg": {
|
|
299
|
+
"name": "Cloud-Ground Negative"
|
|
300
|
+
},
|
|
301
|
+
"cloud_ground_pos": {
|
|
302
|
+
"name": "Cloud-Ground Positive"
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
},
|
|
306
|
+
"quota_xdde": {
|
|
307
|
+
"name": "Quota XDDE",
|
|
308
|
+
"state": {
|
|
309
|
+
"ok": "Ok",
|
|
310
|
+
"exceeded": "Exceeded",
|
|
311
|
+
"unknown": "Unknown"
|
|
312
|
+
},
|
|
313
|
+
"state_attributes": {
|
|
314
|
+
"period": {
|
|
315
|
+
"name": "Period",
|
|
316
|
+
"state": {
|
|
317
|
+
"weekly": "Weekly",
|
|
318
|
+
"monthly": "Monthly",
|
|
319
|
+
"annual": "Annual"
|
|
320
|
+
}
|
|
321
|
+
},
|
|
322
|
+
"max_queries": {
|
|
323
|
+
"name": "Max Queries"
|
|
324
|
+
},
|
|
325
|
+
"remain_queries": {
|
|
326
|
+
"name": "Remaining"
|
|
327
|
+
},
|
|
328
|
+
"made_queries": {
|
|
329
|
+
"name": "Made"
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
},
|
|
333
|
+
"quota_prediccio": {
|
|
334
|
+
"name": "Quota Prediction",
|
|
335
|
+
"state": {
|
|
336
|
+
"ok": "Ok",
|
|
337
|
+
"exceeded": "Exceeded",
|
|
338
|
+
"unknown": "Unknown"
|
|
339
|
+
},
|
|
340
|
+
"state_attributes": {
|
|
341
|
+
"period": {
|
|
342
|
+
"name": "Period",
|
|
343
|
+
"state": {
|
|
344
|
+
"weekly": "Weekly",
|
|
345
|
+
"monthly": "Monthly",
|
|
346
|
+
"annual": "Annual"
|
|
347
|
+
}
|
|
348
|
+
},
|
|
349
|
+
"max_queries": {
|
|
350
|
+
"name": "Max Queries"
|
|
351
|
+
},
|
|
352
|
+
"remain_queries": {
|
|
353
|
+
"name": "Remaining"
|
|
354
|
+
},
|
|
355
|
+
"made_queries": {
|
|
356
|
+
"name": "Made"
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
},
|
|
360
|
+
"quota_basic": {
|
|
361
|
+
"name": "Quota Basic",
|
|
362
|
+
"state": {
|
|
363
|
+
"ok": "Ok",
|
|
364
|
+
"exceeded": "Exceeded",
|
|
365
|
+
"unknown": "Unknown"
|
|
366
|
+
},
|
|
367
|
+
"state_attributes": {
|
|
368
|
+
"period": {
|
|
369
|
+
"name": "Period",
|
|
370
|
+
"state": {
|
|
371
|
+
"weekly": "Weekly",
|
|
372
|
+
"monthly": "Monthly",
|
|
373
|
+
"annual": "Annual"
|
|
374
|
+
}
|
|
375
|
+
},
|
|
376
|
+
"max_queries": {
|
|
377
|
+
"name": "Max Queries"
|
|
378
|
+
},
|
|
379
|
+
"remain_queries": {
|
|
380
|
+
"name": "Remaining"
|
|
381
|
+
},
|
|
382
|
+
"made_queries": {
|
|
383
|
+
"name": "Made"
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
},
|
|
387
|
+
"quota_xema": {
|
|
388
|
+
"name": "Quota XEMA",
|
|
389
|
+
"state": {
|
|
390
|
+
"ok": "Ok",
|
|
391
|
+
"exceeded": "Exceeded",
|
|
392
|
+
"unknown": "Unknown"
|
|
393
|
+
},
|
|
394
|
+
"state_attributes": {
|
|
395
|
+
"period": {
|
|
396
|
+
"name": "Period",
|
|
397
|
+
"state": {
|
|
398
|
+
"weekly": "Weekly",
|
|
399
|
+
"monthly": "Monthly",
|
|
400
|
+
"annual": "Annual"
|
|
401
|
+
}
|
|
402
|
+
},
|
|
403
|
+
"max_queries": {
|
|
404
|
+
"name": "Max Queries"
|
|
405
|
+
},
|
|
406
|
+
"remain_queries": {
|
|
407
|
+
"name": "Remaining"
|
|
408
|
+
},
|
|
409
|
+
"made_queries": {
|
|
410
|
+
"name": "Made"
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
},
|
|
414
|
+
"quota_queries": {
|
|
415
|
+
"name": "Quota Queries",
|
|
416
|
+
"state": {
|
|
417
|
+
"ok": "Ok",
|
|
418
|
+
"exceeded": "Exceeded",
|
|
419
|
+
"unknown": "Unknown"
|
|
420
|
+
},
|
|
421
|
+
"state_attributes": {
|
|
422
|
+
"period": {
|
|
423
|
+
"name": "Period",
|
|
424
|
+
"state": {
|
|
425
|
+
"weekly": "Weekly",
|
|
426
|
+
"monthly": "Monthly",
|
|
427
|
+
"annual": "Annual"
|
|
428
|
+
}
|
|
429
|
+
},
|
|
430
|
+
"max_queries": {
|
|
431
|
+
"name": "Max Queries"
|
|
432
|
+
},
|
|
433
|
+
"remain_queries": {
|
|
434
|
+
"name": "Remaining"
|
|
435
|
+
},
|
|
436
|
+
"made_queries": {
|
|
437
|
+
"name": "Made"
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
},
|
|
441
|
+
"alerts": {
|
|
442
|
+
"name": "Alerts",
|
|
443
|
+
"state_attributes": {
|
|
444
|
+
"alert_1": {
|
|
445
|
+
"name": "Alert 1",
|
|
446
|
+
"state": {
|
|
447
|
+
"violent_weather": "Violent weather",
|
|
448
|
+
"rain_intensity": "Rain intensity",
|
|
449
|
+
"rain_amount": "Rain amount",
|
|
450
|
+
"snow_amount_24": "Snow amount in 24 hours",
|
|
451
|
+
"wind": "Wind",
|
|
452
|
+
"sea_state": "Sea state",
|
|
453
|
+
"cold": "Cold",
|
|
454
|
+
"heat": "Heat",
|
|
455
|
+
"night_heat": "Night heat"
|
|
456
|
+
}
|
|
457
|
+
},
|
|
458
|
+
"alert_2": {
|
|
459
|
+
"name": "Alert 2",
|
|
460
|
+
"state": {
|
|
461
|
+
"violent_weather": "Violent weather",
|
|
462
|
+
"rain_intensity": "Rain intensity",
|
|
463
|
+
"rain_amount": "Rain amount",
|
|
464
|
+
"snow_amount_24": "Snow amount in 24 hours",
|
|
465
|
+
"wind": "Wind",
|
|
466
|
+
"sea_state": "Sea state",
|
|
467
|
+
"cold": "Cold",
|
|
468
|
+
"heat": "Heat",
|
|
469
|
+
"night_heat": "Night heat"
|
|
470
|
+
}
|
|
471
|
+
},
|
|
472
|
+
"alert_3": {
|
|
473
|
+
"name": "Alert 3",
|
|
474
|
+
"state": {
|
|
475
|
+
"violent_weather": "Violent weather",
|
|
476
|
+
"rain_intensity": "Rain intensity",
|
|
477
|
+
"rain_amount": "Rain amount",
|
|
478
|
+
"snow_amount_24": "Snow amount in 24 hours",
|
|
479
|
+
"wind": "Wind",
|
|
480
|
+
"sea_state": "Sea state",
|
|
481
|
+
"cold": "Cold",
|
|
482
|
+
"heat": "Heat",
|
|
483
|
+
"night_heat": "Night heat"
|
|
484
|
+
}
|
|
485
|
+
},
|
|
486
|
+
"alert_4": {
|
|
487
|
+
"name": "Alert 4",
|
|
488
|
+
"state": {
|
|
489
|
+
"violent_weather": "Violent weather",
|
|
490
|
+
"rain_intensity": "Rain intensity",
|
|
491
|
+
"rain_amount": "Rain amount",
|
|
492
|
+
"snow_amount_24": "Snow amount in 24 hours",
|
|
493
|
+
"wind": "Wind",
|
|
494
|
+
"sea_state": "Sea state",
|
|
495
|
+
"cold": "Cold",
|
|
496
|
+
"heat": "Heat",
|
|
497
|
+
"night_heat": "Night heat"
|
|
498
|
+
}
|
|
499
|
+
},
|
|
500
|
+
"alert_5": {
|
|
501
|
+
"name": "Alert 5",
|
|
502
|
+
"state": {
|
|
503
|
+
"violent_weather": "Violent weather",
|
|
504
|
+
"rain_intensity": "Rain intensity",
|
|
505
|
+
"rain_amount": "Rain amount",
|
|
506
|
+
"snow_amount_24": "Snow amount in 24 hours",
|
|
507
|
+
"wind": "Wind",
|
|
508
|
+
"sea_state": "Sea state",
|
|
509
|
+
"cold": "Cold",
|
|
510
|
+
"heat": "Heat",
|
|
511
|
+
"night_heat": "Night heat"
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
},
|
|
516
|
+
"alert_wind": {
|
|
517
|
+
"name": "Alert Wind",
|
|
518
|
+
"state": {
|
|
519
|
+
"opened": "Opened",
|
|
520
|
+
"closed": "Closed"
|
|
521
|
+
},
|
|
522
|
+
"state_attributes": {
|
|
523
|
+
"inicio": {
|
|
524
|
+
"name": "Starts"
|
|
525
|
+
},
|
|
526
|
+
"fin": {
|
|
527
|
+
"name": "Ends"
|
|
528
|
+
},
|
|
529
|
+
"fecha": {
|
|
530
|
+
"name": "Date"
|
|
531
|
+
},
|
|
532
|
+
"periodo": {
|
|
533
|
+
"name": "Period"
|
|
534
|
+
},
|
|
535
|
+
"comentario": {
|
|
536
|
+
"name": "Comment"
|
|
537
|
+
},
|
|
538
|
+
"umbral": {
|
|
539
|
+
"name": "Threshold",
|
|
540
|
+
"state": {
|
|
541
|
+
"wind_gusts_25": "Wind gusts > 25 m/s",
|
|
542
|
+
"microburst": "Microburst",
|
|
543
|
+
"tornadoes": "Tornadoes or waterspouts",
|
|
544
|
+
"wind_40": "Max. wind speed > 40 m/s",
|
|
545
|
+
"wind_35": "Max. wind speed > 35 m/s",
|
|
546
|
+
"wind_30": "Max. wind speed > 30 m/s",
|
|
547
|
+
"wind_25": "Max. wind speed > 25 m/s",
|
|
548
|
+
"wind_20": "Max. wind speed > 20 m/s",
|
|
549
|
+
"unknown": "Unknown"
|
|
550
|
+
}
|
|
551
|
+
},
|
|
552
|
+
"peligro": {
|
|
553
|
+
"name": "Danger"
|
|
554
|
+
},
|
|
555
|
+
"nivel": {
|
|
556
|
+
"name": "Level"
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
},
|
|
560
|
+
"alert_rain_intensity": {
|
|
561
|
+
"name": "Alert Rain Intensity",
|
|
562
|
+
"state": {
|
|
563
|
+
"opened": "Opened",
|
|
564
|
+
"closed": "Closed"
|
|
565
|
+
},
|
|
566
|
+
"state_attributes": {
|
|
567
|
+
"inicio": {
|
|
568
|
+
"name": "Starts"
|
|
569
|
+
},
|
|
570
|
+
"fin": {
|
|
571
|
+
"name": "Ends"
|
|
572
|
+
},
|
|
573
|
+
"fecha": {
|
|
574
|
+
"name": "Date"
|
|
575
|
+
},
|
|
576
|
+
"periodo": {
|
|
577
|
+
"name": "Period"
|
|
578
|
+
},
|
|
579
|
+
"comentario": {
|
|
580
|
+
"name": "Comment"
|
|
581
|
+
},
|
|
582
|
+
"umbral": {
|
|
583
|
+
"name": "Threshold",
|
|
584
|
+
"state": {
|
|
585
|
+
"hail_2_cm": "Hail with diameter > 2 cm",
|
|
586
|
+
"microburst": "Microburst",
|
|
587
|
+
"intensity_40_30": "Intensity > 40 mm / 30 minutes",
|
|
588
|
+
"intensity_20_30": "Intensity > 20 mm / 30 minutes",
|
|
589
|
+
"unknown": "Unknown"
|
|
590
|
+
}
|
|
591
|
+
},
|
|
592
|
+
"peligro": {
|
|
593
|
+
"name": "Danger"
|
|
594
|
+
},
|
|
595
|
+
"nivel": {
|
|
596
|
+
"name": "Level"
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
},
|
|
600
|
+
"alert_rain": {
|
|
601
|
+
"name": "Alert Rain",
|
|
602
|
+
"state": {
|
|
603
|
+
"opened": "Opened",
|
|
604
|
+
"closed": "Closed"
|
|
605
|
+
},
|
|
606
|
+
"state_attributes": {
|
|
607
|
+
"inicio": {
|
|
608
|
+
"name": "Starts"
|
|
609
|
+
},
|
|
610
|
+
"fin": {
|
|
611
|
+
"name": "Ends"
|
|
612
|
+
},
|
|
613
|
+
"fecha": {
|
|
614
|
+
"name": "Date"
|
|
615
|
+
},
|
|
616
|
+
"periodo": {
|
|
617
|
+
"name": "Period"
|
|
618
|
+
},
|
|
619
|
+
"comentario": {
|
|
620
|
+
"name": "Comment"
|
|
621
|
+
},
|
|
622
|
+
"umbral": {
|
|
623
|
+
"name": "Threshold",
|
|
624
|
+
"state": {
|
|
625
|
+
"microburst": "Microburst",
|
|
626
|
+
"rain_200_24": "Amount > 200 mm /24 hours",
|
|
627
|
+
"rain_100_24": "Amount > 100 mm /24 hours",
|
|
628
|
+
"unknown": "Unknown"
|
|
629
|
+
}
|
|
630
|
+
},
|
|
631
|
+
"peligro": {
|
|
632
|
+
"name": "Danger"
|
|
633
|
+
},
|
|
634
|
+
"nivel": {
|
|
635
|
+
"name": "Level"
|
|
636
|
+
}
|
|
637
|
+
}
|
|
638
|
+
},
|
|
639
|
+
"alert_sea": {
|
|
640
|
+
"name": "Alert Sea",
|
|
641
|
+
"state": {
|
|
642
|
+
"opened": "Opened",
|
|
643
|
+
"closed": "Closed"
|
|
644
|
+
},
|
|
645
|
+
"state_attributes": {
|
|
646
|
+
"inicio": {
|
|
647
|
+
"name": "Starts"
|
|
648
|
+
},
|
|
649
|
+
"fin": {
|
|
650
|
+
"name": "Ends"
|
|
651
|
+
},
|
|
652
|
+
"fecha": {
|
|
653
|
+
"name": "Date"
|
|
654
|
+
},
|
|
655
|
+
"periodo": {
|
|
656
|
+
"name": "Period"
|
|
657
|
+
},
|
|
658
|
+
"comentario": {
|
|
659
|
+
"name": "Comment"
|
|
660
|
+
},
|
|
661
|
+
"umbral": {
|
|
662
|
+
"name": "Threshold",
|
|
663
|
+
"state": {
|
|
664
|
+
"microburst": "Microburst",
|
|
665
|
+
"tornadoes": "Tornadoes or waterspouts",
|
|
666
|
+
"waves_4": "Waves > 4.00 meters (rough sea)",
|
|
667
|
+
"waves_2_50": "Waves > 2.50 meters (tidal)",
|
|
668
|
+
"unknown": "Unknown"
|
|
669
|
+
}
|
|
670
|
+
},
|
|
671
|
+
"peligro": {
|
|
672
|
+
"name": "Danger"
|
|
673
|
+
},
|
|
674
|
+
"nivel": {
|
|
675
|
+
"name": "Level"
|
|
676
|
+
}
|
|
677
|
+
}
|
|
678
|
+
},
|
|
679
|
+
"alert_cold": {
|
|
680
|
+
"name": "Alert Cold",
|
|
681
|
+
"state": {
|
|
682
|
+
"opened": "Opened",
|
|
683
|
+
"closed": "Closed"
|
|
684
|
+
},
|
|
685
|
+
"state_attributes": {
|
|
686
|
+
"inicio": {
|
|
687
|
+
"name": "Starts"
|
|
688
|
+
},
|
|
689
|
+
"fin": {
|
|
690
|
+
"name": "Ends"
|
|
691
|
+
},
|
|
692
|
+
"fecha": {
|
|
693
|
+
"name": "Date"
|
|
694
|
+
},
|
|
695
|
+
"periodo": {
|
|
696
|
+
"name": "Period"
|
|
697
|
+
},
|
|
698
|
+
"comentario": {
|
|
699
|
+
"name": "Comment"
|
|
700
|
+
},
|
|
701
|
+
"umbral": {
|
|
702
|
+
"name": "Threshold",
|
|
703
|
+
"state": {
|
|
704
|
+
"cold_very_intense": "Very intense cold",
|
|
705
|
+
"cold_intense": "Intense cold",
|
|
706
|
+
"unknown": "Unknown"
|
|
707
|
+
}
|
|
708
|
+
},
|
|
709
|
+
"peligro": {
|
|
710
|
+
"name": "Danger"
|
|
711
|
+
},
|
|
712
|
+
"nivel": {
|
|
713
|
+
"name": "Level"
|
|
714
|
+
}
|
|
715
|
+
}
|
|
716
|
+
},
|
|
717
|
+
"alert_warm": {
|
|
718
|
+
"name": "Alert Warm",
|
|
719
|
+
"state": {
|
|
720
|
+
"opened": "Opened",
|
|
721
|
+
"closed": "Closed"
|
|
722
|
+
},
|
|
723
|
+
"state_attributes": {
|
|
724
|
+
"inicio": {
|
|
725
|
+
"name": "Starts"
|
|
726
|
+
},
|
|
727
|
+
"fin": {
|
|
728
|
+
"name": "Ends"
|
|
729
|
+
},
|
|
730
|
+
"fecha": {
|
|
731
|
+
"name": "Date"
|
|
732
|
+
},
|
|
733
|
+
"periodo": {
|
|
734
|
+
"name": "Period"
|
|
735
|
+
},
|
|
736
|
+
"comentario": {
|
|
737
|
+
"name": "Comment"
|
|
738
|
+
},
|
|
739
|
+
"umbral": {
|
|
740
|
+
"name": "Threshold",
|
|
741
|
+
"state": {
|
|
742
|
+
"heat_very_intense": "Very intense hot",
|
|
743
|
+
"heat_intense": "Intense heat",
|
|
744
|
+
"unknown": "Unknown"
|
|
745
|
+
}
|
|
746
|
+
},
|
|
747
|
+
"peligro": {
|
|
748
|
+
"name": "Danger"
|
|
749
|
+
},
|
|
750
|
+
"nivel": {
|
|
751
|
+
"name": "Level"
|
|
752
|
+
}
|
|
753
|
+
}
|
|
754
|
+
},
|
|
755
|
+
"alert_warm_night": {
|
|
756
|
+
"name": "Alert Warm Night",
|
|
757
|
+
"state": {
|
|
758
|
+
"opened": "Opened",
|
|
759
|
+
"closed": "Closed"
|
|
760
|
+
},
|
|
761
|
+
"state_attributes": {
|
|
762
|
+
"inicio": {
|
|
763
|
+
"name": "Starts"
|
|
764
|
+
},
|
|
765
|
+
"fin": {
|
|
766
|
+
"name": "Ends"
|
|
767
|
+
},
|
|
768
|
+
"fecha": {
|
|
769
|
+
"name": "Date"
|
|
770
|
+
},
|
|
771
|
+
"periodo": {
|
|
772
|
+
"name": "Period"
|
|
773
|
+
},
|
|
774
|
+
"comentario": {
|
|
775
|
+
"name": "Comment"
|
|
776
|
+
},
|
|
777
|
+
"umbral": {
|
|
778
|
+
"name": "Threshold",
|
|
779
|
+
"state": {
|
|
780
|
+
"heat_night_very_intense": "Very intense night heat",
|
|
781
|
+
"heat_night_intense": "Intense night heat",
|
|
782
|
+
"unknown": "Unknown"
|
|
783
|
+
}
|
|
784
|
+
},
|
|
785
|
+
"peligro": {
|
|
786
|
+
"name": "Danger"
|
|
787
|
+
},
|
|
788
|
+
"nivel": {
|
|
789
|
+
"name": "Level"
|
|
790
|
+
}
|
|
791
|
+
}
|
|
792
|
+
},
|
|
793
|
+
"alert_snow": {
|
|
794
|
+
"name": "Alert Snow",
|
|
795
|
+
"state": {
|
|
796
|
+
"opened": "Opened",
|
|
797
|
+
"closed": "Closed"
|
|
798
|
+
},
|
|
799
|
+
"state_attributes": {
|
|
800
|
+
"inicio": {
|
|
801
|
+
"name": "Starts"
|
|
802
|
+
},
|
|
803
|
+
"fin": {
|
|
804
|
+
"name": "Ends"
|
|
805
|
+
},
|
|
806
|
+
"fecha": {
|
|
807
|
+
"name": "Date"
|
|
808
|
+
},
|
|
809
|
+
"periodo": {
|
|
810
|
+
"name": "Period"
|
|
811
|
+
},
|
|
812
|
+
"comentario": {
|
|
813
|
+
"name": "Comment"
|
|
814
|
+
},
|
|
815
|
+
"umbral": {
|
|
816
|
+
"name": "Threshold",
|
|
817
|
+
"state": {
|
|
818
|
+
"hail_2_cm": "Hail with diameter > 2 cm",
|
|
819
|
+
"thickness_50_at_1000": "thickness > 50 cm at altitudes above 1000 meters up to 1500 meters",
|
|
820
|
+
"thickness_30_at_800": "thickness > 30 cm at altitudes above 800 meters up to 1000 meters",
|
|
821
|
+
"thickness_20_at_600": "thickness > 20 cm at altitudes above 600 meters up to 800 meters",
|
|
822
|
+
"thickness_20_at_1000": "thickness > 20 cm at altitudes above 1000 meters up to 1500 meters",
|
|
823
|
+
"thickness_15_at_300": "thickness > 15 cm at altitudes above 300 meters up to 600 meters",
|
|
824
|
+
"thickness_10_at_800": "thickness > 10 cm at altitudes above 800 meters up to 1000 meters",
|
|
825
|
+
"thickness_5_at_300": "thickness > 5 cm at altitudes below 300 meters",
|
|
826
|
+
"thickness_5_at_600": "thickness > 5 cm at altitudes above 600 meters up to 800 meters",
|
|
827
|
+
"thickness_2_at_300": "thickness > 2 cm at altitudes above 300 meters up to 600 meters",
|
|
828
|
+
"thickness_0_at_300": "thickness ≥ 0 cm at altitudes below 300 meters",
|
|
829
|
+
"unknown": "Unknown"
|
|
830
|
+
}
|
|
831
|
+
},
|
|
832
|
+
"peligro": {
|
|
833
|
+
"name": "Danger"
|
|
834
|
+
},
|
|
835
|
+
"nivel": {
|
|
836
|
+
"name": "Level"
|
|
837
|
+
}
|
|
838
|
+
}
|
|
839
|
+
},
|
|
840
|
+
"sun": {
|
|
841
|
+
"name": "Sun",
|
|
842
|
+
"state": {
|
|
843
|
+
"above_horizon": "Above Horizon",
|
|
844
|
+
"below_horizon": "Below Horizon"
|
|
845
|
+
},
|
|
846
|
+
"state_attributes": {
|
|
847
|
+
"elevation": {
|
|
848
|
+
"name": "Elevation"
|
|
849
|
+
},
|
|
850
|
+
"azimuth": {
|
|
851
|
+
"name": "Azimuth"
|
|
852
|
+
},
|
|
853
|
+
"rising": {
|
|
854
|
+
"name": "Rising",
|
|
855
|
+
"state": {
|
|
856
|
+
"false": "No",
|
|
857
|
+
"true": "Yes"
|
|
858
|
+
}
|
|
859
|
+
},
|
|
860
|
+
"last_updated": {
|
|
861
|
+
"name": "Last Updated"
|
|
862
|
+
},
|
|
863
|
+
"sunrise": {
|
|
864
|
+
"name": "Sunrise"
|
|
865
|
+
},
|
|
866
|
+
"sunset": {
|
|
867
|
+
"name": "Sunset"
|
|
868
|
+
},
|
|
869
|
+
"noon": {
|
|
870
|
+
"name": "Noon"
|
|
871
|
+
},
|
|
872
|
+
"dawn_civil": {
|
|
873
|
+
"name": "Civil Dawn"
|
|
874
|
+
},
|
|
875
|
+
"dusk_civil": {
|
|
876
|
+
"name": "Civil Dusk"
|
|
877
|
+
},
|
|
878
|
+
"dawn_nautical": {
|
|
879
|
+
"name": "Nautical Dawn"
|
|
880
|
+
},
|
|
881
|
+
"dusk_nautical": {
|
|
882
|
+
"name": "Nautical Dusk"
|
|
883
|
+
},
|
|
884
|
+
"dawn_astronomical": {
|
|
885
|
+
"name": "Astronomical Dawn"
|
|
886
|
+
},
|
|
887
|
+
"dusk_astronomical": {
|
|
888
|
+
"name": "Astronomical Dusk"
|
|
889
|
+
},
|
|
890
|
+
"midnight": {
|
|
891
|
+
"name": "Solar Midnight"
|
|
892
|
+
},
|
|
893
|
+
"daylight_duration": {
|
|
894
|
+
"name": "Daylight Duration"
|
|
895
|
+
},
|
|
896
|
+
"daylight_duration_hms": {
|
|
897
|
+
"name": "Daylight Duration (HH:MM:SS)"
|
|
898
|
+
}
|
|
899
|
+
}
|
|
900
|
+
},
|
|
901
|
+
"sunrise": {
|
|
902
|
+
"name": "Sunrise",
|
|
903
|
+
"state_attributes": {
|
|
904
|
+
"friendly_time": {
|
|
905
|
+
"name": "Time"
|
|
906
|
+
},
|
|
907
|
+
"friendly_date": {
|
|
908
|
+
"name": "Date"
|
|
909
|
+
},
|
|
910
|
+
"friendly_day": {
|
|
911
|
+
"name": "Day",
|
|
912
|
+
"state": {
|
|
913
|
+
"monday": "Monday",
|
|
914
|
+
"tuesday": "Tuesday",
|
|
915
|
+
"wednesday": "Wednesday",
|
|
916
|
+
"thursday": "Thursday",
|
|
917
|
+
"friday": "Friday",
|
|
918
|
+
"saturday": "Saturday",
|
|
919
|
+
"sunday": "Sunday"
|
|
920
|
+
}
|
|
921
|
+
}
|
|
922
|
+
}
|
|
923
|
+
},
|
|
924
|
+
"sunset": {
|
|
925
|
+
"name": "Sunset",
|
|
926
|
+
"state_attributes": {
|
|
927
|
+
"friendly_time": {
|
|
928
|
+
"name": "Time"
|
|
929
|
+
},
|
|
930
|
+
"friendly_date": {
|
|
931
|
+
"name": "Date"
|
|
932
|
+
},
|
|
933
|
+
"friendly_day": {
|
|
934
|
+
"name": "Day",
|
|
935
|
+
"state": {
|
|
936
|
+
"monday": "Monday",
|
|
937
|
+
"tuesday": "Tuesday",
|
|
938
|
+
"wednesday": "Wednesday",
|
|
939
|
+
"thursday": "Thursday",
|
|
940
|
+
"friday": "Friday",
|
|
941
|
+
"saturday": "Saturday",
|
|
942
|
+
"sunday": "Sunday"
|
|
943
|
+
}
|
|
944
|
+
}
|
|
945
|
+
}
|
|
946
|
+
},
|
|
947
|
+
"sun_file_status": {
|
|
948
|
+
"name": "Sun File",
|
|
949
|
+
"state": {
|
|
950
|
+
"updated": "Updated",
|
|
951
|
+
"obsolete": "Obsolete"
|
|
952
|
+
},
|
|
953
|
+
"state_attributes": {
|
|
954
|
+
"update_date": {
|
|
955
|
+
"name": "Date"
|
|
956
|
+
}
|
|
957
|
+
}
|
|
958
|
+
},
|
|
959
|
+
"moon_phase": {
|
|
960
|
+
"name": "Moon phase",
|
|
961
|
+
"state": {
|
|
962
|
+
"new_moon": "New moon",
|
|
963
|
+
"waxing_crescent": "Waxing crescent",
|
|
964
|
+
"first_quarter": "First quarter",
|
|
965
|
+
"waxing_gibbous": "Waxing gibbous",
|
|
966
|
+
"full_moon": "Full moon",
|
|
967
|
+
"waning_gibbous": "Waning gibbous",
|
|
968
|
+
"last_quarter": "Last quarter",
|
|
969
|
+
"waning_crescent": "Waning crescent",
|
|
970
|
+
"unknown": "Unknown"
|
|
971
|
+
},
|
|
972
|
+
"state_attributes": {
|
|
973
|
+
"moon_day": {
|
|
974
|
+
"name": "Moon day"
|
|
975
|
+
},
|
|
976
|
+
"moon_phase_value": {
|
|
977
|
+
"name": "Phase value"
|
|
978
|
+
},
|
|
979
|
+
"illuminated_percentage": {
|
|
980
|
+
"name": "Illuminated (%)"
|
|
981
|
+
},
|
|
982
|
+
"moon_distance": {
|
|
983
|
+
"name": "Distance (Km)"
|
|
984
|
+
},
|
|
985
|
+
"moon_angular_diameter": {
|
|
986
|
+
"name": "Angular diameter (arcsec)"
|
|
987
|
+
},
|
|
988
|
+
"lunation": {
|
|
989
|
+
"name": "Lunation"
|
|
990
|
+
},
|
|
991
|
+
"lunation_duration": {
|
|
992
|
+
"name": "Lunation duration"
|
|
993
|
+
},
|
|
994
|
+
"last_updated": {
|
|
995
|
+
"name": "Last updated"
|
|
996
|
+
}
|
|
997
|
+
}
|
|
998
|
+
},
|
|
999
|
+
"moon_file_status": {
|
|
1000
|
+
"name": "Moon File",
|
|
1001
|
+
"state": {
|
|
1002
|
+
"updated": "Updated",
|
|
1003
|
+
"obsolete": "Obsolete"
|
|
1004
|
+
},
|
|
1005
|
+
"state_attributes": {
|
|
1006
|
+
"update_date": {
|
|
1007
|
+
"name": "Date"
|
|
1008
|
+
}
|
|
1009
|
+
}
|
|
1010
|
+
},
|
|
1011
|
+
"moonrise": {
|
|
1012
|
+
"name": "Moonrise",
|
|
1013
|
+
"state_attributes": {
|
|
1014
|
+
"friendly_time": {
|
|
1015
|
+
"name": "Time"
|
|
1016
|
+
},
|
|
1017
|
+
"friendly_date": {
|
|
1018
|
+
"name": "Date"
|
|
1019
|
+
},
|
|
1020
|
+
"friendly_day": {
|
|
1021
|
+
"name": "Day",
|
|
1022
|
+
"state": {
|
|
1023
|
+
"monday": "Monday",
|
|
1024
|
+
"tuesday": "Tuesday",
|
|
1025
|
+
"wednesday": "Wednesday",
|
|
1026
|
+
"thursday": "Thursday",
|
|
1027
|
+
"friday": "Friday",
|
|
1028
|
+
"saturday": "Saturday",
|
|
1029
|
+
"sunday": "Sunday"
|
|
1030
|
+
}
|
|
1031
|
+
}
|
|
1032
|
+
}
|
|
1033
|
+
},
|
|
1034
|
+
"moonset": {
|
|
1035
|
+
"name": "Moonset",
|
|
1036
|
+
"state_attributes": {
|
|
1037
|
+
"friendly_time": {
|
|
1038
|
+
"name": "Time"
|
|
1039
|
+
},
|
|
1040
|
+
"friendly_date": {
|
|
1041
|
+
"name": "Date"
|
|
1042
|
+
},
|
|
1043
|
+
"friendly_day": {
|
|
1044
|
+
"name": "Day",
|
|
1045
|
+
"state": {
|
|
1046
|
+
"monday": "Monday",
|
|
1047
|
+
"tuesday": "Tuesday",
|
|
1048
|
+
"wednesday": "Wednesday",
|
|
1049
|
+
"thursday": "Thursday",
|
|
1050
|
+
"friday": "Friday",
|
|
1051
|
+
"saturday": "Saturday",
|
|
1052
|
+
"sunday": "Sunday"
|
|
1053
|
+
}
|
|
1054
|
+
}
|
|
1055
|
+
}
|
|
1056
|
+
}
|
|
1057
|
+
}
|
|
1058
|
+
}
|
|
868
1059
|
}
|