meteocat 1.1.2 → 2.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.
- package/CHANGELOG.md +9 -1
- package/custom_components/meteocat/__init__.py +1 -1
- package/custom_components/meteocat/manifest.json +1 -1
- package/custom_components/meteocat/sensor.py +70 -5
- package/custom_components/meteocat/strings.json +97 -97
- package/custom_components/meteocat/translations/ca.json +97 -97
- package/custom_components/meteocat/translations/en.json +98 -98
- package/custom_components/meteocat/translations/es.json +97 -97
- package/custom_components/meteocat/version.py +1 -1
- package/package.json +1 -1
- package/pyproject.toml +1 -1
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"step":{
|
|
38
38
|
"init": {
|
|
39
39
|
"description": "Setup the API Key and the limits for XEMA and PREDICTIONS.",
|
|
40
|
-
"title": "Setup options
|
|
40
|
+
"title": "Setup options",
|
|
41
41
|
"data": {
|
|
42
42
|
"option": "Options"
|
|
43
43
|
}
|
|
@@ -231,71 +231,71 @@
|
|
|
231
231
|
"alert_1": {
|
|
232
232
|
"name": "Alert 1",
|
|
233
233
|
"state": {
|
|
234
|
-
"
|
|
235
|
-
"
|
|
236
|
-
"
|
|
237
|
-
"
|
|
238
|
-
"
|
|
239
|
-
"
|
|
240
|
-
"
|
|
241
|
-
"
|
|
242
|
-
"
|
|
234
|
+
"violent_weather": "Violent weather",
|
|
235
|
+
"rain_intensity": "Rain intensity",
|
|
236
|
+
"rain_amount": "Rain amount",
|
|
237
|
+
"snow_amount_24": "Snow amount in 24 hours",
|
|
238
|
+
"wind": "Wind",
|
|
239
|
+
"sea_state": "Sea state",
|
|
240
|
+
"cold": "Cold",
|
|
241
|
+
"heat": "Heat",
|
|
242
|
+
"night_heat": "Night heat"
|
|
243
243
|
}
|
|
244
244
|
},
|
|
245
245
|
"alert_2": {
|
|
246
246
|
"name": "Alert 2",
|
|
247
247
|
"state": {
|
|
248
|
-
"
|
|
249
|
-
"
|
|
250
|
-
"
|
|
251
|
-
"
|
|
252
|
-
"
|
|
253
|
-
"
|
|
254
|
-
"
|
|
255
|
-
"
|
|
256
|
-
"
|
|
248
|
+
"violent_weather": "Violent weather",
|
|
249
|
+
"rain_intensity": "Rain intensity",
|
|
250
|
+
"rain_amount": "Rain amount",
|
|
251
|
+
"snow_amount_24": "Snow amount in 24 hours",
|
|
252
|
+
"wind": "Wind",
|
|
253
|
+
"sea_state": "Sea state",
|
|
254
|
+
"cold": "Cold",
|
|
255
|
+
"heat": "Heat",
|
|
256
|
+
"night_heat": "Night heat"
|
|
257
257
|
}
|
|
258
258
|
},
|
|
259
259
|
"alert_3": {
|
|
260
260
|
"name": "Alert 3",
|
|
261
261
|
"state": {
|
|
262
|
-
"
|
|
263
|
-
"
|
|
264
|
-
"
|
|
265
|
-
"
|
|
266
|
-
"
|
|
267
|
-
"
|
|
268
|
-
"
|
|
269
|
-
"
|
|
270
|
-
"
|
|
262
|
+
"violent_weather": "Violent weather",
|
|
263
|
+
"rain_intensity": "Rain intensity",
|
|
264
|
+
"rain_amount": "Rain amount",
|
|
265
|
+
"snow_amount_24": "Snow amount in 24 hours",
|
|
266
|
+
"wind": "Wind",
|
|
267
|
+
"sea_state": "Sea state",
|
|
268
|
+
"cold": "Cold",
|
|
269
|
+
"heat": "Heat",
|
|
270
|
+
"night_heat": "Night heat"
|
|
271
271
|
}
|
|
272
272
|
},
|
|
273
273
|
"alert_4": {
|
|
274
274
|
"name": "Alert 4",
|
|
275
275
|
"state": {
|
|
276
|
-
"
|
|
277
|
-
"
|
|
278
|
-
"
|
|
279
|
-
"
|
|
280
|
-
"
|
|
281
|
-
"
|
|
282
|
-
"
|
|
283
|
-
"
|
|
284
|
-
"
|
|
276
|
+
"violent_weather": "Violent weather",
|
|
277
|
+
"rain_intensity": "Rain intensity",
|
|
278
|
+
"rain_amount": "Rain amount",
|
|
279
|
+
"snow_amount_24": "Snow amount in 24 hours",
|
|
280
|
+
"wind": "Wind",
|
|
281
|
+
"sea_state": "Sea state",
|
|
282
|
+
"cold": "Cold",
|
|
283
|
+
"heat": "Heat",
|
|
284
|
+
"night_heat": "Night heat"
|
|
285
285
|
}
|
|
286
286
|
},
|
|
287
287
|
"alert_5": {
|
|
288
288
|
"name": "Alert 5",
|
|
289
289
|
"state": {
|
|
290
|
-
"
|
|
291
|
-
"
|
|
292
|
-
"
|
|
293
|
-
"
|
|
294
|
-
"
|
|
295
|
-
"
|
|
296
|
-
"
|
|
297
|
-
"
|
|
298
|
-
"
|
|
290
|
+
"violent_weather": "Violent weather",
|
|
291
|
+
"rain_intensity": "Rain intensity",
|
|
292
|
+
"rain_amount": "Rain amount",
|
|
293
|
+
"snow_amount_24": "Snow amount in 24 hours",
|
|
294
|
+
"wind": "Wind",
|
|
295
|
+
"sea_state": "Sea state",
|
|
296
|
+
"cold": "Cold",
|
|
297
|
+
"heat": "Heat",
|
|
298
|
+
"night_heat": "Night heat"
|
|
299
299
|
}
|
|
300
300
|
}
|
|
301
301
|
}
|
|
@@ -303,8 +303,8 @@
|
|
|
303
303
|
"alert_wind": {
|
|
304
304
|
"name": "Alert Wind",
|
|
305
305
|
"state": {
|
|
306
|
-
"
|
|
307
|
-
"
|
|
306
|
+
"opened": "Opened",
|
|
307
|
+
"closed": "Closed"
|
|
308
308
|
},
|
|
309
309
|
"state_attributes": {
|
|
310
310
|
"inicio": {
|
|
@@ -325,14 +325,14 @@
|
|
|
325
325
|
"umbral": {
|
|
326
326
|
"name": "Threshold",
|
|
327
327
|
"state": {
|
|
328
|
-
"
|
|
329
|
-
"
|
|
330
|
-
"
|
|
331
|
-
"
|
|
332
|
-
"
|
|
333
|
-
"
|
|
334
|
-
"
|
|
335
|
-
"
|
|
328
|
+
"wind_gusts_25": "Wind gusts > 25 m/s",
|
|
329
|
+
"microburst": "Microburst",
|
|
330
|
+
"tornadoes": "Tornadoes or waterspouts",
|
|
331
|
+
"wind_40": "Max. wind speed > 40 m/s",
|
|
332
|
+
"wind_35": "Max. wind speed > 35 m/s",
|
|
333
|
+
"wind_30": "Max. wind speed > 30 m/s",
|
|
334
|
+
"wind_25": "Max. wind speed > 25 m/s",
|
|
335
|
+
"wind_20": "Max. wind speed > 20 m/s"
|
|
336
336
|
}
|
|
337
337
|
},
|
|
338
338
|
"peligro": {
|
|
@@ -346,8 +346,8 @@
|
|
|
346
346
|
"alert_rain_intensity": {
|
|
347
347
|
"name": "Alert Rain Intensity",
|
|
348
348
|
"state": {
|
|
349
|
-
"
|
|
350
|
-
"
|
|
349
|
+
"opened": "Opened",
|
|
350
|
+
"closed": "Closed"
|
|
351
351
|
},
|
|
352
352
|
"state_attributes": {
|
|
353
353
|
"inicio": {
|
|
@@ -368,10 +368,10 @@
|
|
|
368
368
|
"umbral": {
|
|
369
369
|
"name": "Threshold",
|
|
370
370
|
"state": {
|
|
371
|
-
"
|
|
372
|
-
"
|
|
373
|
-
"
|
|
374
|
-
"
|
|
371
|
+
"hail_2_cm": "Hail with diameter > 2 cm",
|
|
372
|
+
"microburst": "Microburst",
|
|
373
|
+
"intensity_40_30": "Intensity > 40 mm / 30 minutes",
|
|
374
|
+
"intensity_20_30": "Intensity > 20 mm / 30 minutes"
|
|
375
375
|
}
|
|
376
376
|
},
|
|
377
377
|
"peligro": {
|
|
@@ -385,8 +385,8 @@
|
|
|
385
385
|
"alert_rain": {
|
|
386
386
|
"name": "Alert Rain",
|
|
387
387
|
"state": {
|
|
388
|
-
"
|
|
389
|
-
"
|
|
388
|
+
"opened": "Opened",
|
|
389
|
+
"closed": "Closed"
|
|
390
390
|
},
|
|
391
391
|
"state_attributes": {
|
|
392
392
|
"inicio": {
|
|
@@ -407,9 +407,9 @@
|
|
|
407
407
|
"umbral": {
|
|
408
408
|
"name": "Threshold",
|
|
409
409
|
"state": {
|
|
410
|
-
"
|
|
411
|
-
"
|
|
412
|
-
"
|
|
410
|
+
"microburst": "Microburst",
|
|
411
|
+
"rain_200_24": "Amount > 200 mm /24 hours",
|
|
412
|
+
"rain_100_24": "Amount > 100 mm /24 hours"
|
|
413
413
|
}
|
|
414
414
|
},
|
|
415
415
|
"peligro": {
|
|
@@ -423,8 +423,8 @@
|
|
|
423
423
|
"alert_sea": {
|
|
424
424
|
"name": "Alert Sea",
|
|
425
425
|
"state": {
|
|
426
|
-
"
|
|
427
|
-
"
|
|
426
|
+
"opened": "Opened",
|
|
427
|
+
"closed": "Closed"
|
|
428
428
|
},
|
|
429
429
|
"state_attributes": {
|
|
430
430
|
"inicio": {
|
|
@@ -445,10 +445,10 @@
|
|
|
445
445
|
"umbral": {
|
|
446
446
|
"name": "Threshold",
|
|
447
447
|
"state": {
|
|
448
|
-
"
|
|
449
|
-
"
|
|
450
|
-
"
|
|
451
|
-
"
|
|
448
|
+
"microburst": "Microburst",
|
|
449
|
+
"tornadoes": "Tornadoes or waterspouts",
|
|
450
|
+
"waves_4": "Waves > 4.00 meters (rough sea)",
|
|
451
|
+
"waves_2_50": "Waves > 2.50 meters (tidal)"
|
|
452
452
|
}
|
|
453
453
|
},
|
|
454
454
|
"peligro": {
|
|
@@ -462,8 +462,8 @@
|
|
|
462
462
|
"alert_cold": {
|
|
463
463
|
"name": "Alert Cold",
|
|
464
464
|
"state": {
|
|
465
|
-
"
|
|
466
|
-
"
|
|
465
|
+
"opened": "Opened",
|
|
466
|
+
"closed": "Closed"
|
|
467
467
|
},
|
|
468
468
|
"state_attributes": {
|
|
469
469
|
"inicio": {
|
|
@@ -484,8 +484,8 @@
|
|
|
484
484
|
"umbral": {
|
|
485
485
|
"name": "Threshold",
|
|
486
486
|
"state": {
|
|
487
|
-
"
|
|
488
|
-
"
|
|
487
|
+
"cold_very_intense": "Very intense cold",
|
|
488
|
+
"cold_intense": "Intense cold"
|
|
489
489
|
}
|
|
490
490
|
},
|
|
491
491
|
"peligro": {
|
|
@@ -499,8 +499,8 @@
|
|
|
499
499
|
"alert_warm": {
|
|
500
500
|
"name": "Alert Warm",
|
|
501
501
|
"state": {
|
|
502
|
-
"
|
|
503
|
-
"
|
|
502
|
+
"opened": "Opened",
|
|
503
|
+
"closed": "Closed"
|
|
504
504
|
},
|
|
505
505
|
"state_attributes": {
|
|
506
506
|
"inicio": {
|
|
@@ -521,8 +521,8 @@
|
|
|
521
521
|
"umbral": {
|
|
522
522
|
"name": "Threshold",
|
|
523
523
|
"state": {
|
|
524
|
-
"
|
|
525
|
-
"
|
|
524
|
+
"heat_very_intense": "Very intense hot",
|
|
525
|
+
"heat_intense": "Intense heat"
|
|
526
526
|
}
|
|
527
527
|
},
|
|
528
528
|
"peligro": {
|
|
@@ -536,8 +536,8 @@
|
|
|
536
536
|
"alert_warm_night": {
|
|
537
537
|
"name": "Alert Warm Night",
|
|
538
538
|
"state": {
|
|
539
|
-
"
|
|
540
|
-
"
|
|
539
|
+
"opened": "Opened",
|
|
540
|
+
"closed": "Closed"
|
|
541
541
|
},
|
|
542
542
|
"state_attributes": {
|
|
543
543
|
"inicio": {
|
|
@@ -558,8 +558,8 @@
|
|
|
558
558
|
"umbral": {
|
|
559
559
|
"name": "Threshold",
|
|
560
560
|
"state": {
|
|
561
|
-
"
|
|
562
|
-
"
|
|
561
|
+
"heat_night_very_intense": "Very intense night heat",
|
|
562
|
+
"heat_night_intense": "Intense night heat"
|
|
563
563
|
}
|
|
564
564
|
},
|
|
565
565
|
"peligro": {
|
|
@@ -573,8 +573,8 @@
|
|
|
573
573
|
"alert_snow": {
|
|
574
574
|
"name": "Alert Snow",
|
|
575
575
|
"state": {
|
|
576
|
-
"
|
|
577
|
-
"
|
|
576
|
+
"opened": "Opened",
|
|
577
|
+
"closed": "Closed"
|
|
578
578
|
},
|
|
579
579
|
"state_attributes": {
|
|
580
580
|
"inicio": {
|
|
@@ -595,17 +595,17 @@
|
|
|
595
595
|
"umbral": {
|
|
596
596
|
"name": "Threshold",
|
|
597
597
|
"state": {
|
|
598
|
-
"
|
|
599
|
-
"
|
|
600
|
-
"
|
|
601
|
-
"
|
|
602
|
-
"
|
|
603
|
-
"
|
|
604
|
-
"
|
|
605
|
-
"
|
|
606
|
-
"
|
|
607
|
-
"
|
|
608
|
-
"
|
|
598
|
+
"hail_2_cm": "Hail with diameter > 2 cm",
|
|
599
|
+
"thickness_50_at_1000": "thickness > 50 cm at altitudes above 1000 meters up to 1500 meters",
|
|
600
|
+
"thickness_30_at_800": "thickness > 30 cm at altitudes above 800 meters up to 1000 meters",
|
|
601
|
+
"thickness_20_at_600": "thickness > 20 cm at altitudes above 600 meters up to 800 meters",
|
|
602
|
+
"thickness_20_at_1000": "thickness > 20 cm at altitudes above 1000 meters up to 1500 meters",
|
|
603
|
+
"thickness_15_at_300": "thickness > 15 cm at altitudes above 300 meters up to 600 meters",
|
|
604
|
+
"thickness_10_at_800": "thickness > 10 cm at altitudes above 800 meters up to 1000 meters",
|
|
605
|
+
"thickness_5_at_300": "thickness > 5 cm at altitudes below 300 meters",
|
|
606
|
+
"thickness_5_at_600": "thickness > 5 cm at altitudes above 600 meters up to 800 meters",
|
|
607
|
+
"thickness_2_at_300": "thickness > 2 cm at altitudes above 300 meters up to 600 meters",
|
|
608
|
+
"thickness_0_at_300": "thickness ≥ 0 cm at altitudes below 300 meters"
|
|
609
609
|
}
|
|
610
610
|
},
|
|
611
611
|
"peligro": {
|