Skip to content

Releases: spacemanspiff2007/HABApp

Version 0.13.1

11 Jun 06:52
8df3960
Compare
Choose a tag to compare

0.13.1
This version shows "0.13.1 Dev" because I forgot to change the version -.-

Changes

  • If loading of an item fails HABApp doesn't skip loading of all items any more
  • Added Loghandler: HABApp.core.lib.handler.MidnightRotatingFileHandler:
    A file handler that waits until the file has a certain size and then rotates at midnight.
    This is the default when the logging.yml gets created
    Made this the default file handler for logging.
  • Removed timeout for connection to openhab
  • Added example how to check Thing status

Version 0.13.0

11 May 15:33
5fb1ea1
Compare
Choose a tag to compare
  • Textual configuration of Things can be spread out over multiple files
  • Extensive error messages and exception tracebacks with variable values
  • Rework of MultiModeItem:
    • moved into subpackage HABApp.util.multimode
    • create_mode is deprecated, modes get added by add_mode and can be subclassed
    • Added SwitchItemValueMode, a mode which can be enabled/disabled by a SwitchItem
  • added functions to work with OH rest/links/ endpoint (thx snpz)
  • added get_thing to the OpenhabInterface
  • BaseValueItem can be used in calculations (and subsequently all other item types, too),
    no more need to use the value property
    e.g.
    val = NumberItem('item1') + NumberItem('item2')
    is the same as val = NumberItem('item1').value + NumberItem('item2').value

Bugfix:

  • First call for scheduler with time of day for workday/weekend could have been wrong
  • ParamFiles get unloaded properly when file gets deleted

Version 0.12.8

13 Apr 11:53
7b4c5fb
Compare
Choose a tag to compare

Version 0.12.7

07 Apr 04:53
67b25d6
Compare
Choose a tag to compare
  • Bugfix for Dimmer item not getting properly loaded from openhab
  • Added example how to create rules from parameter files

Version 0.12.6

02 Apr 07:16
949d2c2
Compare
Choose a tag to compare
  • HABApp finds the correct config if the command arg is the config.yml instead of the config folder
  • Files and folders are loaded in alphabetical order
  • Binary data from mqtt work now as expected
  • removed 'auto_disable_on' from MultiModeItem
  • Fixes issue where sun functions were triggered multiple times when using scheduler boundaries

Version 0.12.5

18 Mar 08:55
46d47bd
Compare
Choose a tag to compare
  • Created AggregationItem & small cleanup
  • fixed Error None in __cleanup_objs
  • reworked loading of rules
  • Added some documentation

Version 0.12.4

11 Mar 15:34
3d1cab4
Compare
Choose a tag to compare
  • MultiModeItem supports a custom disable function
  • Reworked folder watcher (fixes #90)
  • Added profiler which gives better overview for long running functions (fixes #96)
  • Docker fixes
  • some cleanup

Version 0.12.3

16 Feb 15:49
bb2f72b
Compare
Choose a tag to compare
  • Added support for persistence data from openhab
  • Fixes for astral 2.1

Version 0.12.2

10 Feb 05:26
Compare
Choose a tag to compare
  • Created Item.listen_event

  • Created OpenhabItem.oh_send_command and OpenhabItem.oh_post_update (closes #109)

  • ImageItem automatically detects type of image

  • Fixed infinite loop when scheduler boundaries changed in boundary_func

  • added next_call to Scheduler obj

  • Bugfix for python 3.8 (fixes #111)

0.12.1

01 Feb 06:36
9f63fa9
Compare
Choose a tag to compare

Changes:

  • Allow binary data from MQTT (fixes #101)
  • Added support for ConfigStatusInfoEvent
  • Removed parameters from openhab events. This allows easy unittesting of self created rules
  • Bugfix for ColorItem (fixes #106)
  • added post_rgb to ColorItem
  • Added support for RawValue from openhab
  • Added support for ImageItem (closes #104)

Documentation

  • Added inheritance diagrams for items
  • Added documentation for ImageItem