Skip to content

Commit

Permalink
0.30.0 (#215)
Browse files Browse the repository at this point in the history
- Switched to Apache2.0 License
- Fix DateTime string parsing for OH 3.1 (#214)
- State of Groupitem gets set correctly
- About ~50% performance increase for async calls in rules
- Significantly less CPU usage when no functions are running
- Completely reworked the file handling (loading and dependency resolution)
- Completely reworked the Scheduler!
  - Has now subsecond accuracity (finally!)
  - Has a new .coundown() job which can simplify many rules.
    It is made for functions that do something after a certain period of time (e.g. switch a light off after movement)
    Example: https://habapp.readthedocs.io/en/develop/rule_examples.html#turn-something-off-after-movement
- Added hsb_to_rgb, rgb_to_hsb functions which can be used in rules
- Better error message if configured foldes overlap with HABApp folders
- Renamed HABAppError to HABAppException
- Some Doc improvements
  • Loading branch information
spacemanspiff2007 committed May 2, 2021
1 parent 301afae commit 744b928
Show file tree
Hide file tree
Showing 241 changed files with 3,362 additions and 3,955 deletions.
4 changes: 2 additions & 2 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ exclude =
tests/conftest.py,

# the interfaces will throw unused imports
HABApp/openhab/interface.py,
HABApp/openhab/interface_async.py,
src/HABApp/openhab/interface.py,
src/HABApp/openhab/interface_async.py,
2 changes: 1 addition & 1 deletion .github/workflows/run_tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
python-version: [3.7, 3.8, 3.9]

steps:
- uses: actions/checkout@v1
Expand Down
4 changes: 2 additions & 2 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ formats: all

# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.7
version: 3.8
install:
- requirements: _doc/requirements.txt
- method: setuptools
path: .
path: .
58 changes: 0 additions & 58 deletions .travis.yml

This file was deleted.

1 change: 0 additions & 1 deletion HABApp/__version__.py

This file was deleted.

34 changes: 0 additions & 34 deletions HABApp/config/_conf_location.py

This file was deleted.

6 changes: 0 additions & 6 deletions HABApp/core/const/const.py

This file was deleted.

5 changes: 0 additions & 5 deletions HABApp/core/files/__init__.py

This file was deleted.

119 changes: 0 additions & 119 deletions HABApp/core/files/all.py

This file was deleted.

59 changes: 0 additions & 59 deletions HABApp/core/files/event_listener.py

This file was deleted.

Loading

0 comments on commit 744b928

Please sign in to comment.