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
package/filetree.txt
CHANGED
|
@@ -1,70 +1,79 @@
|
|
|
1
|
-
└── .github/
|
|
2
|
-
└── ISSUE_TEMPLATE/
|
|
3
|
-
├── bug_report.md
|
|
4
|
-
├── config.yml
|
|
5
|
-
|
|
6
|
-
├──
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
├──
|
|
10
|
-
├──
|
|
11
|
-
├──
|
|
12
|
-
├──
|
|
13
|
-
├──
|
|
14
|
-
├── .
|
|
15
|
-
├── .
|
|
16
|
-
├──
|
|
17
|
-
├── .
|
|
18
|
-
├── .
|
|
19
|
-
├──
|
|
20
|
-
├──
|
|
21
|
-
├──
|
|
22
|
-
├──
|
|
23
|
-
├──
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
├──
|
|
31
|
-
├──
|
|
32
|
-
├──
|
|
33
|
-
├──
|
|
34
|
-
├──
|
|
35
|
-
├──
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
├──
|
|
43
|
-
├──
|
|
44
|
-
├──
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
├──
|
|
51
|
-
├──
|
|
52
|
-
├──
|
|
53
|
-
├──
|
|
54
|
-
├──
|
|
55
|
-
├──
|
|
56
|
-
├──
|
|
57
|
-
├──
|
|
58
|
-
├──
|
|
59
|
-
├──
|
|
60
|
-
├──
|
|
61
|
-
├──
|
|
62
|
-
├──
|
|
63
|
-
├──
|
|
64
|
-
├──
|
|
65
|
-
├──
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
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.
|
|
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
|
package/images/options.png
CHANGED
|
Binary file
|
|
Binary file
|
package/images/setup_options.png
CHANGED
|
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": "
|
|
4
|
-
"description": "[](https://opensource.org/licenses/Apache-2.0)\r [](https://pypi.org/project/meteocat)\r [](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": "[](https://opensource.org/licenses/Apache-2.0)\r [](https://pypi.org/project/meteocat)\r [](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
|
+
}
|