Skip to content

Releases: spacemanspiff2007/HABApp

Version 0.12.0

19 Jan 07:57
20ed001
Compare
Choose a tag to compare
  • Added boundary_func to the scheduled item. If set it will be called with the next datetime and can be used to easily add custom timing function (e.g. on weekdays run on 8, on weekends run on 9)

  • Removed ValueNoChangeEvent & ValueNoUpdateEvent

  • Added ItemNoChangeEvent & ItemNoUpdateEvent

  • Items have a watch_change and watch_update function

  • Added GroupItem, StringItem, DatetimeItem, LocationItem, PlayerItem, Thing to HABAp.openhab.items

  • All items from Openhab inherit from OpenhabItem

  • All events from Openhab inherit from OpenhabEvent

Version 0.11.0

19 Dec 13:53
514f5ac
Compare
Choose a tag to compare
  • Updated documentation
  • Added _last_change and _last_update to item and created property which returns timezone naive obj
  • Item value get properly set if they return a unit
  • Added support for ThingStatus events
  • Added fixes and tests for QuantityType
  • Added mapping of QuantityType (fixes #94)
  • Scheduler fixes
  • Added scheduler for Sunrise/Sunset/etc (closes #93)
  • Internal Timestamps are all utc now
  • Added location config

Version 0.10.1

12 Nov 06:08
Compare
Choose a tag to compare
  • Serialized rule (un-) loading (fixes #80)
  • Added documentation for set_file_validator
  • added func get_path for FileEvents
  • Gracefully shutdown aiohttp on shutdown of HABApp
  • Openhab Tests log to own file
  • MyPy fixes

Version 0.10.0

01 Nov 13:21
df0a701
Compare
Choose a tag to compare

Version 0.10.0

  • Configured logfiles get rotated on startup instead of deleted
  • added parameter "wait_for_openhab". If true HABApp will wait until items
    from openhab have been loaded before loading the rules
  • Param & Rule file loading is now event based:
    Reloading of both file types can be observed and triggered from within rules
  • Deprecated some functions and added deprecation warnings to the log
  • Error Processing is now event based, too. Removed WrappedFunction._ERROR_CALLBACK.
    Added an example how to process rule error messages in documentation
  • Prepared parameter file validation
  • Added some more documentation

Version 0.9.2

12 Oct 13:07
fa0a21d
Compare
Choose a tag to compare
  • ComplexEventValue works now for all Events
  • Ping works again as intended (fixes #83)
  • Fixed bug when item from openHAB changed type and change was not reflected in HABApp
  • Fixed wrong type hint for run_xxx

Version 0.9.0

05 Oct 11:37
Compare
Choose a tag to compare
  • Renamed functions and variables for item (added deprecation warning for old item.state property)
    • item.state -> item.value
    • item.set_state -> item.set_value
    • item.post_state -> item.post_value
    • item.get_state -> item.get_value
  • Moved configuration to EasyCo
  • MQTT configuration has listen_only switch, too
  • Added NumberItem to openhab.items
  • Updated lots documentation
  • Added functions with corresponding commands for OpenhabItems
  • Added command processing for OpenhabItems
  • Prepared for Openhab 2.5
  • Use relative names in testing configuration
  • Counter is thread safe
  • renamed ColorItem.value to ColorItem.brightness
  • MultiModeValue has function calculate_lower_priority_value which returns the low prio value

Version 0.8.0

28 Sep 05:35
22556a4
Compare
Choose a tag to compare

Reworked Parameters:

  • can now be used to setup rules dynamically
  • can be imported and created through HABApp.Parameter
  • own documentation page

Reworked MultiValueItem:

  • Removed MultiValue
  • Added lots of documentation

Other:

  • run_in supports timedelta
  • Fixed example (fixes #72)
  • Added more documentation