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.
- 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 +971 -954
- package/README.md +207 -207
- package/conftest.py +11 -11
- package/custom_components/meteocat/__init__.py +298 -298
- package/custom_components/meteocat/condition.py +63 -63
- package/custom_components/meteocat/config_flow.py +613 -613
- package/custom_components/meteocat/const.py +132 -132
- package/custom_components/meteocat/coordinator.py +248 -68
- package/custom_components/meteocat/helpers.py +58 -58
- package/custom_components/meteocat/manifest.json +25 -25
- package/custom_components/meteocat/options_flow.py +287 -287
- package/custom_components/meteocat/sensor.py +4 -2
- package/custom_components/meteocat/strings.json +1060 -1058
- package/custom_components/meteocat/translations/ca.json +1060 -1058
- package/custom_components/meteocat/translations/en.json +1060 -1058
- package/custom_components/meteocat/translations/es.json +1060 -1058
- package/custom_components/meteocat/version.py +1 -1
- package/custom_components/meteocat/weather.py +218 -218
- package/filetree.py +48 -48
- package/filetree.txt +80 -79
- package/hacs.json +8 -8
- 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,79 +1,80 @@
|
|
|
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
|
-
├──
|
|
55
|
-
├──
|
|
56
|
-
├──
|
|
57
|
-
├──
|
|
58
|
-
├──
|
|
59
|
-
├──
|
|
60
|
-
├──
|
|
61
|
-
├──
|
|
62
|
-
├──
|
|
63
|
-
├──
|
|
64
|
-
├──
|
|
65
|
-
├──
|
|
66
|
-
├──
|
|
67
|
-
├── package.json
|
|
68
|
-
├──
|
|
69
|
-
├──
|
|
70
|
-
├──
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
├──
|
|
74
|
-
├── setup.
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
├──
|
|
78
|
-
├──
|
|
79
|
-
├──
|
|
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
|
+
├── daily_forecast_no_alerts.png
|
|
55
|
+
├── devices.png
|
|
56
|
+
├── diagnostic_sensors.png
|
|
57
|
+
├── dynamic_sensors.png
|
|
58
|
+
├── login.png
|
|
59
|
+
├── options.png
|
|
60
|
+
├── pick_area.png
|
|
61
|
+
├── pick_station.png
|
|
62
|
+
├── pick_town.png
|
|
63
|
+
├── regenerate_assets.png
|
|
64
|
+
├── setup_options.png
|
|
65
|
+
├── system_options.png
|
|
66
|
+
├── info.md
|
|
67
|
+
├── package-lock.json
|
|
68
|
+
├── package.json
|
|
69
|
+
├── poetry.lock
|
|
70
|
+
├── pyproject.toml
|
|
71
|
+
├── requirements.test.txt
|
|
72
|
+
└── scripts/
|
|
73
|
+
├── update_version.sh
|
|
74
|
+
├── setup.cfg
|
|
75
|
+
├── setup.py
|
|
76
|
+
└── tests/
|
|
77
|
+
├── __init__.py
|
|
78
|
+
├── bandit.yaml
|
|
79
|
+
├── conftest.py
|
|
80
|
+
├── 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.12.5",
|
|
4
|
+
"hide_default_branch": true,
|
|
5
|
+
"render_readme": true,
|
|
6
|
+
"zip_release": true,
|
|
7
|
+
"filename": "meteocat.zip"
|
|
8
|
+
}
|
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.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
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "meteocat",
|
|
3
|
+
"version": "4.0.2",
|
|
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
|
+
}
|