-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Get forecasts for an asset-id instead of passing location (#16)
* add asset-id to get forecasts, used GenericAsset(type) instead of Asset(Type) * refactoring * refactoring * remove extra brackets * add both assets name in the exception message * add asset-id to get forecasts, used GenericAsset(type) instead of Asset(Type) * refactoring * refactoring * remove extra brackets * add both assets name in the exception message * clear exception message * removed unused package * add asset-id cli param * add asset-id to register a weather sensor * fix sensor schema validation and raise Warnings * refactoring * refactor schema and update generic asset and type * stop code when no close station is found * update warning message and refactoring --------- Co-authored-by: Nikolai <[email protected]>
- Loading branch information
1 parent
3790b00
commit 42bed45
Showing
6 changed files
with
104 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters