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.
Files changed (57) 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 +954 -898
  20. package/README.md +207 -204
  21. package/conftest.py +11 -11
  22. package/custom_components/meteocat/__init__.py +298 -293
  23. package/custom_components/meteocat/condition.py +63 -59
  24. package/custom_components/meteocat/config_flow.py +613 -435
  25. package/custom_components/meteocat/const.py +132 -120
  26. package/custom_components/meteocat/coordinator.py +1040 -205
  27. package/custom_components/meteocat/helpers.py +58 -63
  28. package/custom_components/meteocat/manifest.json +25 -24
  29. package/custom_components/meteocat/options_flow.py +287 -277
  30. package/custom_components/meteocat/sensor.py +366 -4
  31. package/custom_components/meteocat/strings.json +1058 -867
  32. package/custom_components/meteocat/translations/ca.json +1058 -867
  33. package/custom_components/meteocat/translations/en.json +1058 -867
  34. package/custom_components/meteocat/translations/es.json +1058 -867
  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 +79 -70
  39. package/hacs.json +8 -8
  40. package/images/daily_forecast_2_alerts.png +0 -0
  41. package/images/daily_forecast_no_alerts.png +0 -0
  42. package/images/diagnostic_sensors.png +0 -0
  43. package/images/dynamic_sensors.png +0 -0
  44. package/images/options.png +0 -0
  45. package/images/regenerate_assets.png +0 -0
  46. package/images/setup_options.png +0 -0
  47. package/images/system_options.png +0 -0
  48. package/info.md +11 -11
  49. package/package.json +22 -22
  50. package/poetry.lock +3222 -3222
  51. package/pyproject.toml +68 -68
  52. package/requirements.test.txt +3 -3
  53. package/setup.cfg +64 -64
  54. package/setup.py +10 -10
  55. package/tests/bandit.yaml +17 -17
  56. package/tests/conftest.py +19 -19
  57. package/tests/test_init.py +9 -9
package/filetree.txt CHANGED
@@ -1,70 +1,79 @@
1
- └── .github/
2
- └── ISSUE_TEMPLATE/
3
- ├── bug_report.md
4
- ├── config.yml
5
- └── workflows/
6
- ├── autocloser.yaml
7
- ├── close-duplicates.yml
8
- ├── hassfest.yaml
9
- ├── publish-zip.yml
10
- ├── release.yml
11
- ├── stale.yml
12
- ├── sync-gitlab.yml
13
- ├── validate.yaml
14
- ├── .gitignore
15
- ├── .gitlab-ci.yml
16
- ├── .pre-commit-config.yaml
17
- ├── .releaserc
18
- ├── .releaserc.toml
19
- ├── AUTHORS.md
20
- ├── CHANGELOG.md
21
- ├── LICENSE
22
- ├── README.md
23
- ├── conftest.py
24
- └── custom_components/
25
- └── meteocat/
26
- ├── __init__.py
27
- ├── condition.py
28
- ├── config_flow.py
29
- ├── const.py
30
- ├── coordinator.py
31
- ├── helpers.py
32
- ├── manifest.json
33
- ├── options_flow.py
34
- ├── sensor.py
35
- ├── strings.json
36
- └── translations/
37
- ├── ca.json
38
- ├── en.json
39
- ├── es.json
40
- ├── version.py
41
- ├── weather.py
42
- ├── filetree.py
43
- ├── filetree.txt
44
- ├── hacs.json
45
- └── images/
46
- ├── api_limits.png
47
- ├── banner.png
48
- ├── change_units.png
49
- ├── devices.png
50
- ├── diagnostic_sensors.png
51
- ├── dynamic_sensors.png
52
- ├── login.png
53
- ├── options.png
54
- ├── pick_area.png
55
- ├── pick_station.png
56
- ├── pick_town.png
57
- ├── info.md
58
- ├── package-lock.json
59
- ├── package.json
60
- ├── poetry.lock
61
- ├── pyproject.toml
62
- ├── releaserc.json
63
- ├── requirements.test.txt
64
- ├── setup.cfg
65
- ├── setup.py
66
- └── tests/
67
- ├── __init__.py
68
- ├── bandit.yaml
69
- ├── conftest.py
70
- ├── test_init.py
1
+ └── .github/
2
+ └── ISSUE_TEMPLATE/
3
+ ├── bug_report.md
4
+ ├── config.yml
5
+ ├── improvement.md
6
+ ├── new_function.md
7
+ ├── labels.yml
8
+ └── workflows/
9
+ ├── autocloser.yaml
10
+ ├── close-on-label.yml
11
+ ├── force-sync-labels.yml
12
+ ├── hassfest.yaml
13
+ ├── publish-zip.yml
14
+ ├── release.yml
15
+ ├── stale.yml
16
+ ├── sync-gitlab.yml
17
+ ├── sync-labels.yml
18
+ ├── validate.yaml
19
+ ├── .gitignore
20
+ ├── .gitlab-ci.yml
21
+ ├── .pre-commit-config.yaml
22
+ ├── .releaserc
23
+ ├── AUTHORS.md
24
+ ├── CHANGELOG.md
25
+ ├── LICENSE
26
+ ├── README.md
27
+ ├── conftest.py
28
+ └── custom_components/
29
+ └── meteocat/
30
+ ├── __init__.py
31
+ ├── condition.py
32
+ ├── config_flow.py
33
+ ├── const.py
34
+ ├── coordinator.py
35
+ ├── helpers.py
36
+ ├── manifest.json
37
+ ├── options_flow.py
38
+ ├── sensor.py
39
+ ├── strings.json
40
+ └── translations/
41
+ ├── ca.json
42
+ ├── en.json
43
+ ├── es.json
44
+ ├── version.py
45
+ ├── weather.py
46
+ ├── filetree.py
47
+ ├── filetree.txt
48
+ ├── hacs.json
49
+ └── images/
50
+ ├── api_limits.png
51
+ ├── banner.png
52
+ ├── change_units.png
53
+ ├── daily_forecast_2_alerts.png
54
+ ├── devices.png
55
+ ├── diagnostic_sensors.png
56
+ ├── dynamic_sensors.png
57
+ ├── login.png
58
+ ├── options.png
59
+ ├── pick_area.png
60
+ ├── pick_station.png
61
+ ├── pick_town.png
62
+ ├── regenerate_assets.png
63
+ ├── setup_options.png
64
+ ├── system_options.png
65
+ ├── info.md
66
+ ├── package-lock.json
67
+ ├── package.json
68
+ ├── poetry.lock
69
+ ├── pyproject.toml
70
+ ├── requirements.test.txt
71
+ └── scripts/
72
+ ├── update_version.sh
73
+ ├── setup.cfg
74
+ ├── setup.py
75
+ └── tests/
76
+ ├── __init__.py
77
+ ├── bandit.yaml
78
+ ├── conftest.py
79
+ ├── test_init.py
package/hacs.json CHANGED
@@ -1,8 +1,8 @@
1
- {
2
- "name": "Meteocat",
3
- "homeassistant": "2025.9.3",
4
- "hide_default_branch": true,
5
- "render_readme": true,
6
- "zip_release": true,
7
- "filename": "meteocat.zip"
8
- }
1
+ {
2
+ "name": "Meteocat",
3
+ "homeassistant": "2025.11.0",
4
+ "hide_default_branch": true,
5
+ "render_readme": true,
6
+ "zip_release": true,
7
+ "filename": "meteocat.zip"
8
+ }
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/info.md CHANGED
@@ -1,11 +1,11 @@
1
- # Meteocat
2
-
3
- Meteocat is a custom integration for Home Assistant that provides meteorological data from the Meteocat API (Servei Meteorològic de Catalunya).
4
-
5
- ## Features
6
- - Hourly and daily weather forecasts
7
- - UV Index
8
- - Dynamic sensors based on selected station
9
- - Diagnostic sensors for town, station and data
10
-
11
- For more information, check the [README](https://github.com/figorr/meteocat).
1
+ # Meteocat
2
+
3
+ Meteocat is a custom integration for Home Assistant that provides meteorological data from the Meteocat API (Servei Meteorològic de Catalunya).
4
+
5
+ ## Features
6
+ - Hourly and daily weather forecasts
7
+ - UV Index
8
+ - Dynamic sensors based on selected station
9
+ - Diagnostic sensors for town, station and data
10
+
11
+ For more information, check the [README](https://github.com/figorr/meteocat).
package/package.json CHANGED
@@ -1,22 +1,22 @@
1
- {
2
- "name": "meteocat",
3
- "version": "3.1.0",
4
- "description": "[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\r [![Python version compatibility](https://img.shields.io/pypi/pyversions/meteocat)](https://pypi.org/project/meteocat)\r [![pipeline status](https://gitlab.com/figorr/meteocat/badges/master/pipeline.svg)](https://gitlab.com/figorr/meteocat/commits/master)",
5
- "main": "index.js",
6
- "directories": {
7
- "test": "tests"
8
- },
9
- "scripts": {
10
- "test": "echo \"Error: no test specified\" && exit 1"
11
- },
12
- "keywords": [],
13
- "author": "",
14
- "license": "ISC",
15
- "devDependencies": {
16
- "@semantic-release/changelog": "^6.0.3",
17
- "@semantic-release/exec": "^6.0.3",
18
- "@semantic-release/git": "^10.0.1",
19
- "@semantic-release/github": "^11.0.1",
20
- "semantic-release": "^24.2.0"
21
- }
22
- }
1
+ {
2
+ "name": "meteocat",
3
+ "version": "4.0.0",
4
+ "description": "[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\r [![Python version compatibility](https://img.shields.io/pypi/pyversions/meteocat)](https://pypi.org/project/meteocat)\r [![pipeline status](https://gitlab.com/figorr/meteocat/badges/master/pipeline.svg)](https://gitlab.com/figorr/meteocat/commits/master)",
5
+ "main": "index.js",
6
+ "directories": {
7
+ "test": "tests"
8
+ },
9
+ "scripts": {
10
+ "test": "echo \"Error: no test specified\" && exit 1"
11
+ },
12
+ "keywords": [],
13
+ "author": "",
14
+ "license": "ISC",
15
+ "devDependencies": {
16
+ "@semantic-release/changelog": "^6.0.3",
17
+ "@semantic-release/exec": "^6.0.3",
18
+ "@semantic-release/git": "^10.0.1",
19
+ "@semantic-release/github": "^11.0.1",
20
+ "semantic-release": "^24.2.0"
21
+ }
22
+ }