Skip to content

Commit

Permalink
Initial version of lib.env
Browse files Browse the repository at this point in the history
  • Loading branch information
msinn committed Jul 31, 2023
1 parent 1a8f60b commit 62c0ac1
Show file tree
Hide file tree
Showing 10 changed files with 307 additions and 51 deletions.
20 changes: 15 additions & 5 deletions doc/user/source/referenz/APIs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,25 @@ Die Beschreibung ihrer Funktionalität ist hier beschrieben:
:maxdepth: 3
:titlesonly:

/lib/item
/lib/plugin
/lib/item
/lib/plugin


.. toctree::
:maxdepth: 3
:titlesonly:

/lib/shtime
/lib/logic
/lib/scheduler
/lib/shtime
/lib/logic
/lib/scheduler


Folgende Libraries mit Hilfsfunktionen stehen zur Verfügung:

.. toctree::
:maxdepth: 3
:titlesonly:

/lib/env
/lib/tools
/lib/utils
17 changes: 17 additions & 0 deletions doc/user/source/release/1_01_and_newer.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
:tocdepth: 2

Release 1.1 bis 1.5
===================

.. toctree::
:maxdepth: 0
:titlesonly:

smarthomeng_older/1_05_1
smarthomeng_older/1_05
smarthomeng_older/1_04_2
smarthomeng_older/1_04_1
smarthomeng_older/1_04
smarthomeng_older/1_03
smarthomeng_older/1_02
smarthomeng_older/1_01
13 changes: 0 additions & 13 deletions doc/user/source/release/1_01_bis_1_05_releases.rst

This file was deleted.

16 changes: 12 additions & 4 deletions doc/user/source/release/1_10.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ sowie einige neue Plugins.

Diese Release Notes sind ein Arbeitsstand.

- Berücksichtigt sind Commits im smarthome Repository bis incl. 27. Juli 2023
(lib.shtime: Changed a loglevel from notice to info...)
- Berücksichtigt sind Commits im plugins Repository bis incl. 27. Juli 2023
(Merge pull request #765 from sisamiwe/...)
- Berücksichtigt sind Commits im smarthome Repository bis incl. 31. Juli 2023
(modules.admin: Bugfix in api_logics)
- Berücksichtigt sind Commits im plugins Repository bis incl. 28. Juli 2023
(...)


Überblick
Expand Down Expand Up @@ -122,6 +122,7 @@ Updates im CORE
* lib.network:

* Fix name reference
* Small fixes

* lib.plugin:

Expand Down Expand Up @@ -173,6 +174,7 @@ Updates im CORE
* Added description attribute to item details
* In Logger configuration sub-loggers of a plugin are en-/disabled with the plugin logger
* v0.8.17 Implemented load logics from editor page after it has been unloaded due to error
* v0.9.1: Adding, changing and deleting of logic-groups implemented

* http:

Expand All @@ -193,6 +195,7 @@ Updates im CORE
* Add sorting icons for num values
* Update documentation.. add info on tooltips, datepicker, cookies, icons
* Update sample plugin to include cookies and tooltips
* Updates to datatables and pageresize

* websocket:

Expand Down Expand Up @@ -375,6 +378,11 @@ http://www.smarthomeng.de/user/plugins_all.html konsultieren.

* Changed default value for generate_pages to False
* Corrected log message
* only check dir if handling option is set

* solarforecast:

* Fallback to smarthomeNG lat/long default values if no plugin specific latitude and longitude values are specified

* stateengine:

Expand Down
2 changes: 0 additions & 2 deletions doc/user/source/release/release.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,4 @@ Release Notes für SmartHomeNG:
:reversed:

*
smarthomeng_older/releases
smarthome_py/releases

14 changes: 0 additions & 14 deletions doc/user/source/release/smarthome_py/releases.rst

This file was deleted.

12 changes: 0 additions & 12 deletions doc/user/source/release/smarthomeng_older/releases.rst

This file was deleted.

4 changes: 3 additions & 1 deletion doc/user/source/was_ist_neu.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ diesem und den vorangegangenen Releases ist den :doc:`Release Notes </release/re
möglich
- **Admin GUI**:

- **Logiken**: Die Liste der Logiken kann nun gruppiert angezeigt werden. Logiken können einer oder mehreren
- **Logiken**:
- Die Liste der Logiken kann nun gruppiert angezeigt werden. Logiken können einer oder mehreren
Gruppen zugeordnet werden.
- Zu den Gruppen können eine Titelzeile und eine Beschreibung gepflegt werden.
- **Systemeigenschaften**: Die Resource Graphen der Systemdaten funktionieren jetzt auch, ohne dass das smartvisu
Plugin konfiguriert sein muss.
- **Items**: Es ist jetzt möglich die Veränderung des Werte von mehreren Items in einer Tabelle live zu
Expand Down
30 changes: 30 additions & 0 deletions lib/env/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
#!/usr/bin/env python3
# vim: set encoding=utf-8 tabstop=4 softtabstop=4 shiftwidth=4 expandtab
#########################################################################
# Copyright 2023- Martin Sinn [email protected]
#########################################################################
# This file is part of SmartHomeNG.
#
# SmartHomeNG is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# SmartHomeNG is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with SmartHomeNG. If not, see <http://www.gnu.org/licenses/>.
#########################################################################


"""
This library implements functions to handle environmental data in SmartHomeNG.
"""

from .envlib import *



Loading

0 comments on commit 62c0ac1

Please sign in to comment.