meteocat 0.1.36 → 0.1.37
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 -0
- package/custom_components/meteocat/__init__.py +1 -1
- package/custom_components/meteocat/manifest.json +1 -1
- package/custom_components/meteocat/sensor.py +1 -1
- package/custom_components/meteocat/strings.json +4 -2
- package/custom_components/meteocat/translations/ca.json +4 -2
- package/custom_components/meteocat/translations/en.json +4 -2
- package/custom_components/meteocat/translations/es.json +4 -2
- package/custom_components/meteocat/version.py +1 -1
- package/package.json +1 -1
- package/pyproject.toml +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## [0.1.37](https://github.com/figorr/meteocat/compare/v0.1.36...v0.1.37) (2024-12-17)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* 0.1.37 ([1e850d8](https://github.com/figorr/meteocat/commit/1e850d8e77d0e572a0bfb8ba01702ab3acf0437f))
|
|
7
|
+
* fix hour attribute translation ([31ccc6f](https://github.com/figorr/meteocat/commit/31ccc6fc9a1a51c441935682cbdc1af07cc6af5f))
|
|
8
|
+
* fix wind directions ([23bbf44](https://github.com/figorr/meteocat/commit/23bbf4465c79107e5326fc107b23cf4a0c71c70c))
|
|
9
|
+
|
|
1
10
|
## [0.1.36](https://github.com/figorr/meteocat/compare/v0.1.35...v0.1.36) (2024-12-17)
|
|
2
11
|
|
|
3
12
|
|
|
@@ -20,7 +20,7 @@ from .const import DOMAIN, PLATFORMS
|
|
|
20
20
|
_LOGGER = logging.getLogger(__name__)
|
|
21
21
|
|
|
22
22
|
# Versión
|
|
23
|
-
__version__ = "0.1.
|
|
23
|
+
__version__ = "0.1.37"
|
|
24
24
|
|
|
25
25
|
def safe_remove(path: Path, is_folder: bool = False):
|
|
26
26
|
"""Elimina de forma segura un archivo o carpeta si existe."""
|
|
@@ -478,7 +478,7 @@ class MeteocatSensor(CoordinatorEntity[MeteocatSensorCoordinator], SensorEntity)
|
|
|
478
478
|
|
|
479
479
|
directions = [
|
|
480
480
|
"N", "NNE", "NE", "ENE", "E", "ESE", "SE", "SSE",
|
|
481
|
-
"S", "SSW", "SW", "WSW", "
|
|
481
|
+
"S", "SSW", "SW", "WSW", "W", "WNW", "NW", "NNW", "N",
|
|
482
482
|
]
|
|
483
483
|
index = round(degree / 22.5) % 16
|
|
484
484
|
return directions[index]
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
# version.py
|
|
2
|
-
__version__ = "0.1.
|
|
2
|
+
__version__ = "0.1.37"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "meteocat",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.37",
|
|
4
4
|
"description": "[](https://opensource.org/licenses/Apache-2.0)\r [](https://pypi.org/project/meteocat)\r [](https://gitlab.com/figorr/meteocat/commits/master)",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"directories": {
|