Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
16 changes: 9 additions & 7 deletions .github/workflows/skill_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@ on:
jobs:
py_build_tests:
uses: neongeckocom/.github/.github/workflows/python_build_tests.yml@master
# skill_unit_tests:
# uses: neongeckocom/.github/.github/workflows/skill_tests.yml@master
# skill_intent_tests:
# uses: neongeckocom/.github/.github/workflows/skill_test_intents.yml@master
# skill_resource_tests:
# uses: neongeckocom/.github/.github/workflows/skill_test_resources.yml@master
# skill_unit_tests:
# uses: neongeckocom/.github/.github/workflows/skill_tests.yml@master
skill_intent_tests:
uses: neongeckocom/.github/.github/workflows/skill_test_intents.yml@master
with:
ovos_versions: "[]"
# skill_resource_tests:
# uses: neongeckocom/.github/.github/workflows/skill_test_resources.yml@master
skill_install_tests:
uses: neongeckocom/.github/.github/workflows/skill_test_installation.yml@master
with:
test_osm: false
test_osm: false
2 changes: 2 additions & 0 deletions .github/workflows/update_skill_json.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
name: Update skill.json
on:
push:
branches-ignore:
- XLATE_**

jobs:
update_skill_json:
Expand Down
167 changes: 162 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,162 @@
*.pyc
*.qmlc
settings.json
.vscode
.idea/**
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
.pybuilder/
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
# For a library or package, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# .python-version

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock

# poetry
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
# This is especially recommended for binary packages to ensure reproducibility, and is more
# commonly ignored for libraries.
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
#poetry.lock

# pdm
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
#pdm.lock
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
# in version control.
# https://pdm.fming.dev/latest/usage/project/#working-with-version-control
.pdm.toml
.pdm-python
.pdm-build/

# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

# pytype static type analyzer
.pytype/

# Cython debug symbols
cython_debug/

# PyCharm
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/
55 changes: 43 additions & 12 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,64 @@
# Changelog

## [3.0.0](https://github.com/NeonGeckoCom/skill-weather/tree/3.0.0) (2024-07-10)
## [3.0.1a7](https://github.com/NeonGeckoCom/skill-weather/tree/3.0.1a7) (2025-08-12)

[Full Changelog](https://github.com/NeonGeckoCom/skill-weather/compare/2.0.1a2...3.0.0)
[Full Changelog](https://github.com/NeonGeckoCom/skill-weather/compare/3.0.1a6...3.0.1a7)

**Fixed bugs:**
**Merged pull requests:**

- Fix translation typo [\#70](https://github.com/NeonGeckoCom/skill-weather/pull/70) ([NeonDaniel](https://github.com/NeonDaniel))

## [3.0.1a6](https://github.com/NeonGeckoCom/skill-weather/tree/3.0.1a6) (2025-05-27)

[Full Changelog](https://github.com/NeonGeckoCom/skill-weather/compare/3.0.1a5...3.0.1a6)

**Merged pull requests:**

- Intent tests [\#68](https://github.com/NeonGeckoCom/skill-weather/pull/68) ([NeonDmitry](https://github.com/NeonDmitry))

## [3.0.1a5](https://github.com/NeonGeckoCom/skill-weather/tree/3.0.1a5) (2025-04-08)

[Full Changelog](https://github.com/NeonGeckoCom/skill-weather/compare/3.0.1a4...3.0.1a5)

**Merged pull requests:**

- German translation [\#67](https://github.com/NeonGeckoCom/skill-weather/pull/67) ([NeonDmitry](https://github.com/NeonDmitry))

## [3.0.1a4](https://github.com/NeonGeckoCom/skill-weather/tree/3.0.1a4) (2025-03-20)

[Full Changelog](https://github.com/NeonGeckoCom/skill-weather/compare/3.0.1a3...3.0.1a4)

**Merged pull requests:**

- Ukrainian fix translation [\#66](https://github.com/NeonGeckoCom/skill-weather/pull/66) ([NeonDmitry](https://github.com/NeonDmitry))

## [3.0.1a3](https://github.com/NeonGeckoCom/skill-weather/tree/3.0.1a3) (2025-03-20)

[Full Changelog](https://github.com/NeonGeckoCom/skill-weather/compare/3.0.1a2...3.0.1a3)

**Merged pull requests:**

- \[BUG\] Weather token is expired [\#56](https://github.com/NeonGeckoCom/skill-weather/issues/56)
- \[BUG\] Trying to query weather forecast failed [\#48](https://github.com/NeonGeckoCom/skill-weather/issues/48)
- Polish translation [\#65](https://github.com/NeonGeckoCom/skill-weather/pull/65) ([NeonDmitry](https://github.com/NeonDmitry))

## [2.0.1a2](https://github.com/NeonGeckoCom/skill-weather/tree/2.0.1a2) (2024-05-15)
## [3.0.1a2](https://github.com/NeonGeckoCom/skill-weather/tree/3.0.1a2) (2025-03-11)

[Full Changelog](https://github.com/NeonGeckoCom/skill-weather/compare/2.0.1a1...2.0.1a2)
[Full Changelog](https://github.com/NeonGeckoCom/skill-weather/compare/3.0.1a1...3.0.1a2)

**Fixed bugs:**

- \[BUG\] Incorrect sunset time [\#47](https://github.com/NeonGeckoCom/skill-weather/issues/47)
- \[BUG\] Weather conditions are always reported in English [\#61](https://github.com/NeonGeckoCom/skill-weather/issues/61)

**Merged pull requests:**

- Fix timezone handling [\#54](https://github.com/NeonGeckoCom/skill-weather/pull/54) ([NeonDaniel](https://github.com/NeonDaniel))
- Update automation, gitignore, and license notices [\#63](https://github.com/NeonGeckoCom/skill-weather/pull/63) ([NeonDaniel](https://github.com/NeonDaniel))

## [2.0.1a1](https://github.com/NeonGeckoCom/skill-weather/tree/2.0.1a1) (2024-05-14)
## [3.0.1a1](https://github.com/NeonGeckoCom/skill-weather/tree/3.0.1a1) (2025-01-27)

[Full Changelog](https://github.com/NeonGeckoCom/skill-weather/compare/2.0.0...2.0.1a1)
[Full Changelog](https://github.com/NeonGeckoCom/skill-weather/compare/3.0.0...3.0.1a1)

**Merged pull requests:**

- Resolve deprecation warnings and general cleanup [\#53](https://github.com/NeonGeckoCom/skill-weather/pull/53) ([NeonDaniel](https://github.com/NeonDaniel))
- Update `IntentBuilder` to import from `ovos_workshop` [\#59](https://github.com/NeonGeckoCom/skill-weather/pull/59) ([NeonDaniel](https://github.com/NeonDaniel))



Expand Down
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# NEON AI (TM) SOFTWARE, Software Development Kit & Application Development System
# All trademark and other rights reserved by their respective owners
# Copyright 2008-2021 Neongecko.com Inc.
# Copyright 2008-2025 Neongecko.com Inc.
# BSD-3 License

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
Expand Down
5 changes: 3 additions & 2 deletions __init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# NEON AI (TM) SOFTWARE, Software Development Kit & Application Framework
# All trademark and other rights reserved by their respective owners
# Copyright 2008-2022 Neongecko.com Inc.
# Copyright 2008-2025 Neongecko.com Inc.
# Contributors: Daniel McKnight, Guy Daniels, Elon Gasper, Richard Leeds,
# Regina Bloomstine, Casimiro Ferreira, Andrii Pernatii, Kirill Hrymailo
# BSD-3 License
Expand Down Expand Up @@ -66,7 +66,7 @@
from lingua_franca.parse import extract_number
from ovos_workshop.decorators import intent_handler, skill_api_method

from adapt.intent import IntentBuilder
from ovos_workshop.intents import IntentBuilder

from .skill import (
CurrentDialog,
Expand Down Expand Up @@ -103,6 +103,7 @@ def __init__(self, **kwargs):
self.platform = self.config_core.get("enclosure", {}).get("platform", "unknown")
self.gui_image_directory = Path(self.root_dir).joinpath("ui")
self.log = LOG
WeatherIntent._translator = self.translator

@classproperty
def runtime_requirements(self):
Expand Down
3 changes: 2 additions & 1 deletion locale/de-de/dialog/and.dialog
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
, und
# auto translated from en-us to de-de
und
2 changes: 2 additions & 0 deletions locale/de-de/dialog/condition/clear-sky.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# auto translated from en-us to de-de
ein klarer Himmel
3 changes: 2 additions & 1 deletion locale/de-de/dialog/condition/clear.dialog
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
Klarer Himmel
# auto translated from en-us to de-de
ein klarer Himmel
2 changes: 2 additions & 0 deletions locale/de-de/dialog/condition/clouds.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# auto translated from en-us to de-de
Wolken
2 changes: 2 additions & 0 deletions locale/de-de/dialog/condition/humidity.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# auto translated from en-us to de-de
Feuchtigkeit
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
Es wird kein Niederschlag vorhergesagt
Es wird nichts vorhergesagt
Es wird kein Niederschlag erwartet
Es wird kein Regen erwartet
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
{modifier} {precip} wird für {day} erwartet
Die Vorhersage für {day} ist {modifier} {precip}
Es wird für {day} {modifier} {precip} erwartet
3 changes: 2 additions & 1 deletion locale/de-de/dialog/condition/rain.dialog
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
regnerisch
# auto translated from en-us to de-de
Regen
3 changes: 2 additions & 1 deletion locale/de-de/dialog/condition/snow.dialog
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
verschneit
# auto translated from en-us to de-de
Schnee
5 changes: 4 additions & 1 deletion locale/de-de/dialog/condition/thunderstorm.dialog
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
Sturm
# auto translated from en-us to de-de
Stürme
Sturm
Gewitter
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# Der abgefragte Zustand wird heute eintreten
Ja, es wird heute {condition} vorausgesagt
# auto translated from en-us to de-de
Ja, heute wird es {condition} sein
Es sieht so aus, als ob es heute {condition} geben wird
Es sieht aus, als würde es heute {condition}
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# Die abgefragte Bedingung tritt auf
Ja, es wird {condition} in {location} vorausgesagt
# auto translated from en-us to de-de
In {location} sieht es so aus, als gäbe es heute {condition}
Ja, es wird in {location} {condition} sein
Ja, es wird in {location} {condition} vorausgesagt
Ja, es wird in {location} {condition} erwartet
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Informing that an the requested condition is not in the forecast
Es wird {condition} für heute vorhergesagt
Für heute wird {condition} erwartet
# auto translated from en-us to de-de
Nein, aktuell wird {condition} erwartet
Nein, es ist alktuell mit {condition} zu rechnen
Nein, alktuell wird mit {condition} gerechnen
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Informing that an the requested condition is not in the forecast
In {location} wird {condition} für heute vorhergesagt
Für heute wird {condition} in {location} erwartet
# auto translated from en-us to de-de
Nein, die Vorhersage sagt für heute {condition} in {location} an
Nein, in {location} wird heute {condition} erwartet
6 changes: 4 additions & 2 deletions locale/de-de/dialog/current/current-humidity-local.dialog
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
Im Moment werden {percent} Luftfeuchte gemessen
Wir haben {percent} Luftfeuchtigkeit
# auto translated from en-us to de-de
Derzeit beträgt die Luftfeuchtigkeit {percent}
Im Moment wird {percent} Luftfeuchte gemessen
Wir haben eine Luftfeuchtigkeit von {percent}
4 changes: 2 additions & 2 deletions locale/de-de/dialog/current/current-humidity-location.dialog
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Im Moment ist {percent} Luftfeuchte in {location}
in {location} werden {percent} Luftfeuchte gemessen
# auto translated from en-us to de-de
Derzeit beträgt die Luftfeuchtigkeit in {location} {percent}
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
sonnenaufgang ist heute um {time}
heute geht die sonne um {time} auf
# auto translated from en-us to de-de
die Sonne wird heute um {time} Uhr aufgehen
Der Sonnenaufgang findet heute um {time} statt.
Loading
Loading