Habapp

Latest version: v24.11.0

Safety actively analyzes 682244 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 10 of 11

0.12.3

* Added support for persistence data from openhab
* Fixes for astral 2.1

0.12.2

- 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

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``

0.12.0

- 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 ``

0.11.0

- 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

0.10.1

- 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

Page 10 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.