Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cli command for adding a toy account (#368)
* adding initial structure: better name and safer against already existing data Signed-off-by: Nicolas Höning <nicolas@seita.nl> * command to add toy account, default implementation: a battery Signed-off-by: Nicolas Höning <nicolas@seita.nl> * use an email with a real domain because for undetectable reasons, the user can otherwise not log in :/ Signed-off-by: Nicolas Höning <nicolas@seita.nl> * simplify the parameter names for IDs, humanize dates/deltas in show_data CLI Signed-off-by: Nicolas Höning <nicolas@seita.nl> * less session flushing by assigning models to relationships, instead of IDs Signed-off-by: Nicolas Höning <nicolas@seita.nl> * do not require energy/power sensors anymore for assets to be shown on dashboard Signed-off-by: Nicolas Höning <nicolas@seita.nl> * protect latest state view from failing with no capacity on sensor Signed-off-by: Nicolas Höning <nicolas@seita.nl> * Add capacity_in_mw attribute to battery asset Signed-off-by: Nicolas Höning <nicolas@seita.nl> * document the new CLI command Signed-off-by: Nicolas Höning <nicolas@seita.nl> * mention a command renaming I did Signed-off-by: Nicolas Höning <nicolas@seita.nl> * choose better resolutions, display market sensor at the end. Signed-off-by: Nicolas Höning <nicolas@seita.nl> * fix parameter name Signed-off-by: Nicolas Höning <nicolas@seita.nl> * add min-soc and max-soc attributes to battery asset, plus small fixes from review Signed-off-by: Nicolas Höning <nicolas@seita.nl>
- Loading branch information
Showing
12 changed files
with
205 additions
and
97 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
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
Oops, something went wrong.