- ...
- added rule
habapp_rules.actors.shading.ReferenceRun
to trigger the reference run for blinds every month - added rule
habapp_rules.system.task.RecurringTask
to trigger recurring tasks
- removed timezone from all datetime.items, since timezone makes no sense in the OpenHAB context
- added rule
habapp_rules.actors.light_bathroom.BathroomLight
to control bathroom light - added the python version to
habapp_rules.core.version.SetVersions
- added
habapp_rules.sensors.sun.WinterFilter
to filter the sun signal depending on heating state. This can be used to avoid sun protection when heating is active - added
habapp_rules.actors.heating.HeatingActive
which can be used to set a heating flag if one of the heating actors is active - improved
habapp_rules.core.timeout_list
- added additional wait time to
habapp_rules.actors.energy_save_switch.EnergySaveSwitch
when switch is in wait for current state and current falls below threshold.
- bumped HABApp to 24.11.1 to fix startup bug with python 3.13
- bumped HABApp to 24.11.0. Check release info
- updated docker container to use python 3.13
- renamed all
habapp_rules
exceptions to error. E.g.habapp_rules.HabAppRulesException
tohabapp_rules.HabAppRulesError
- renamed
habapp_rules.system.watchdog
tohabapp_rules.system.item_watchdog
- moved rules of
habapp_rules.actors.power
tohabapp_rules.sensors.current_switch
- Added rules in
habapp_rules.actors.energy_save_switch
to switch off sockets during sleeping time or at absence to save energy.
- moved rules of
habapp_rules.actors.power
tohabapp_rules.sensors.current_switch
. Old location is still supported, but deprecated - fixed wrong item name in
habapp_rules.energy.monthly_report.MonthlyReport
- added rule
habapp_rules.system.notification.SendStateChanged
which can be used to send a mail or telegram message if the state of an item changes - added rule
habapp_rules.actors.heating.KnxHeating
which can be used to set the target temperature of a KNX heating actor which only supports temperature offsets - added temperature difference item of
habapp_rules.sensors.sun.SensorTemperatureDifference
tofiltered_signal_groups
- added rule
habapp_rules.actors.power.CurrentSwitch
which can be used to enable a switch item if current is above a threshold - added rule
habapp_rules.system.watchdog.Watchdog
which can be used to check if an item was updated in time
- fixed bug in
habapp_rules.actors.light.LightSwitchExtended
andhabapp_rules.actors.light.LightDimmerExtended
which did not re-trigger the timer if a door was opened. - fixed bug in all rules of
habapp_rules.actors.light
where a timer with time=None was used if a light function is not active. Now, the time is changed to 0 sec if a function is not configured.
- added support for dimmer items which can be configured for
switch_on
for all rules inhabapp_rules.actors.light_hcl
- bumped versions:
- HABApp to 24.08.1
- multi-notifier to 0.5.0
- holidays to 0.53
- round light color of all rules in
habapp_rules.actors.light_hcl
to integer values to avoid strange formating in OpenHAB - added config parameter
leaving_only_if_on
tohabapp_rules.actors.config.light.LightParameter
to disable unexpected leaving light, if light was not on and leaving started - fixed bug in all shading rules of
habapp_rules.actors.shading
which did not switch to sleeping state if previous state was Auto_DoorOpen
- IMPORTANT: The config and parameter of all rules changed dramatically! Now, the config must be given as pydantic config object. This enables better valdiation and future releases with less interface changes.
- added additional config to
habapp_rules.actors.shading.Shutter
andhabapp_rules.actors.shading.Raffstore
which allows to set different positions for day and night if sleeping is active - added possibility to pass shading objects to
habapp_rules.actors.shading.ResetAllManualHand
which should be reset by this rule - added
habapp_rules.sensors.humidity.HumiditySwitch
to set a switch item if high humidity is detected. Currently only a absolut threshold is accepted - send update of summer / winter of
habapp_rules.system.summer_winter.SummerWinter
after every check. If this rule is used to send the summer / winter state to the KNX bus, this ensures, that the state is sent at least once a day - added hysteresis switch to
habapp_rules.sensors.sun.SensorBrightness
andhabapp_rules.sensors.sun.SunPositionFilter
. Breaking change: Parameter order changed! - bumped holidays to 0.51
- bumped matplotlib to 3.9.0
- fixed bug in
habapp_rules.actors.shading.Shutter
andhabapp_rules.actors.shading.Raffstore
which caused theHand
state if MDT actors are used
- added possibility to add groups to
habapp_rules.core.helper.create_additional_item
- added possibility to add groups to
habapp_rules.sensors.sun.SensorBrightness
andhabapp_rules.sensors.sun.SensorTemperatureDifference
- fixed bug in
habapp_rules.core.helper.create_additional_item
which added a[%s]
to string items
- fixed bug of all rules in
habapp_rules.actors.ventilation
which raised an exception if presence changed to long absence.
- fixed bug of missing resources of
habapp_rules.energy.montly_report.MonthlyReport
if used in docker container
- added
habapp_rules.energy.montly_report.MonthlyReport
for generating a monthly energy report mail - bumped holidays to 0.45
- bumped multi-notifier to 0.4.0
- fixed bug in
habapp_rules.actors.shading._ShadingBase
, which caused an exception if night state was checked but no day/night item was given
- added rules in
habapp_rules.actors.ventilation
to control ventilation objects - added
name_switch_on
tohabapp_rules.actors.light_hcl.HclTime
andhabapp_rules.actors.light_hcl.HclElevation
to add the possibility to also update the color if a item switches on - added new transition to
habapp_rules.actors.light._LightExtendedMixin
to also switch on the light if current state isauto_preoff
and the door opened - added
habapp_rules.sensors.dwd.DwdWindAlarm
to set wind alarm depending on DWD warnings - added
habapp_rules.core.version.SetVersions
to set versions of HABApp and habapp_rules to OpenHAB items - added
habapp_rules.common.logic.InvertValue
which can be used to set the inverted value of one item to another - bumped holidays to 0.44
- bumped HABApp to 24.02.0
- fixed bug in
habapp_rules.actors.state_observer.StateObserverNumber
which triggered the manual-detected-callback if the received number deviates only a little bit because of data types. (e.g.: 1.000001 != 1.0) - fixed bug for dimmer lights in
habapp_rules.actors.light
which did not set the correct brightness if light was switched on. - fixed bug in
habapp_rules.common.hysteresis.HysteresisSwitch.get_output
resulted in a wrong switch state if the value was 0. - added missing state transition to
habapp_rules.sensors.motion.Motion
. When state wasPostSleepLocked
and sleep started there was no change toSleepLocked
- fixed strange behavior of
habapp_rules.system.presence.Presence
which did not abort leaving when the first phone appeared. This let to absence state if someone returned when leaving was active.
- fixed bug in
habapp_rules.actors.shading.Raffstore
which triggered a hand detection also if only small slat differences occurred
- fixed bug in all observers of
habapp_rules.actors.state_observer
which triggered the manual callback also if the value change of numeric values is tiny - fixed bug in
habapp_rules.actors.shading._ShadingBase
which triggered a hand detection also if only small position differences occurred
- fixed bug in
habapp_rules.core.state_machine.StateMachineRule
which prevents inheritance ofhabapp_rules
-rules in local rules
- added dependabot to keep all dependencies up to date
- added
habapp_rules.actors.light_hcl
for setting light temperature depending on time or sun elevation - added
habapp_rules.actors.state_observer.StateObserverNumber
for observe state changes of a number item
- fixed too short restore time for all light rules when sleep was aborted in
habapp_rules.actors.light._LightBase
- fixed bug in
habapp_rules.core.state_machine_rule.on_rule_removed
which did not remove rules which have a hierarchical state machine
- added
habapp_rules.common.logic.Sum
for calculation the sum of number items
- only use items (instead item names) for all habapp_rules implementations which are using
habapp_rules.core.helper.send_if_different
- cancel timer / timeouts of replaced rules
- fixed bug in
habapp_rules.actors.shading.ResetAllManualHand
which did not reset all shading objects if triggered via KNX
- added rule
habapp_rules.system.sleep.LinkSleep
to link multiple sleep rules
- fixed bug in
habapp_rules.actors.shading.ResetAllManualHand
which did not always reset all shading instances. - fixed bug in
habapp_rules.actors.shading._ShadingBase
which caused wrong shading states after sleeping or night
- added rule
habapp_rules.sensors.astro.SetNight
andhabapp_rules.sensors.astro.SetDay
to set / unset night and day state depending on sun elevation
- fixed bug in
habapp_rules.actors.shading._ShadingBase
which caused a switch to night close if it was not configured.
- added support for more than two sensor values to
habapp_rules.sensors.sun.SensorTemperatureDifference
. Breaking change: Item names must be given as list of names.
- added logic functions
habapp_rules.common.logic.Min
andhabapp_rules.common.logic.Max
- updated HABApp to 23.09.02
- Updated docker container to use python 3.11
- renamed
habapp_rules.actors.light.Light
tohabapp_rules.actors.light.LightDimmer
andhabapp_rules.actors.light.LightExtended
tohabapp_rules.actors.light.LightDimmerExtended
- moved / renamed
habapp_rules.actors.light_config
tohabapp_rules.actors.config.light
- changed parameter names and order of
habapp_rules.bridge.knx_mqtt.KnxMqttDimmerBridge
and added support for KNX switch items - all items which are created from habapp_rules start with prefix
H_
- removed
_create_additional_item
fromhabapp_rules.core.state_machine_rule.StateMachineRule
and added it as standalone function:habapp_rules.core.helper.create_additional_item
- added
habapp_rules.actors.light.LightSwitch
andhabapp_rules.actors.light.LightSwitchExtended
which add the support forswitch
lights - added
habapp_rules.sensors.sun
to handle and filter different kind of sun sensors - added
habapp_rules.common.filter.ExponentialFilter
to apply a exponential filter to a number item. This can be used to smoothen signals. - added
habapp_rules.actors.shading
to handle shading objects - increased startup speed by upgrading to HABApp==23.09.0
- fixed bug of
habapp_rules.actors.irrigation.Irrigation
where type of Number item could be float type
- added
habapp_rules.actors.irrigation.Irrigation
to control basic irrigation systems
- fixed build of docker image
- Moved some modules from
common
tocore
- Changed parameter order of
habapp_rules.system.presence.Presence
- Added
habapp_rules.actors.light
to control dimmer lights (switch lights will be supported later):habapp_rules.actors.light.Light
for basic light functionality like switch-on brightness or leaving / sleeping lighthabapp_rules.actors.light.LightExtended
includes everything fromhabapp_rules.actors.light.Light
plus switch on depending on motion or opening of a door
- Added
habapp_rules.sensors.motion
to filter motion sensors - Added
habapp_rules.common.hysteresis
as a helper for value depended switch with hysteresis - Added
habapp_rules.core.timeout_list
- Added logging of
habapp_rules
version - Added
habapp_rules.common.hysteresis
which implements a hysteresis switch - Changed
habapp_rules.system.summer_winter
that one full day of data is enough for summer / winter detected, also if more days are set for mean calculation
- fixed bug of
habapp_rules.system.presence.Presence
which avoided instantiation if no phone outside_doors where given - fixed bug of
habapp_rules.core.state_machine.StateMachineRule._create_additional_item
which returned a bool value instead of the created item if an item was created
- Changed updated checkout@v2 to checkout@v3 which uses node16
- Removed
helper
submodule and switched tonose_helper
package
- Fixed bug of
habapp_rules.system.presence.Presence
wherelong_absence
would be set toabsence
if there was an restart of HABApp - Fixed bug of
habapp_rules.system.presence.Presence
where it was not possible to change state toleaving
fromabsence
orlong_absence
by leaving-switch
- Added more logging to
habapp_rules.system.sleep.Sleep
,habapp_rules.system.presence.Presence
,habapp_rules.system.summer_winter.SummerWinter
- Fixed bug where timers would not start at initial state of
habapp_rules.system.sleep.Sleep
andhabapp_rules.system.presence.Presence
would not start
- Fixed bug at summer / winter where
last_check_name
could not be set
- removed communication modules
- Added nox checks
- Added logical function rules (AND + OR)