Releases: amitfin/retry
Multi-select for expected state
Expected state can be a list and has a corresponding selector for UI usage.
List of expected states
Expected state supports also a list of states (or a single string).
Translate services
HA 2023.8 added the ability to translate custom services (names, descriptions, fields). This release uses the new functionality.
Additional actions validations
Additional validations for retry.actions
: (1) block nested retry.actions
, (2) block retry.call
inside retry.actions
(3) pre-validation of retry.call
parameters.
Actions service (UI friendly)
There is a new retry.actions
service which is UI friendly. This new service can be used in visual mode without the need to edit the YAML configuration. The new service gets a sequence of actions and execute them with retries on service calls. Non service call steps are executed without modifications.
Make a separate call per entity
Make a separate call per entity when multiple entities are supplied. It means that a failure with one entity doesn't influence others. This behavior can be disabled by setting the new "individually" parameter to false (default is true).
Retry only invalid entities
Retry only invalid entities when the failure is because of entity's unavailability or unexpected state.
v1.6.2...v1.7.2
Fix a race condition when "expected_state" is used
Fixed a race condition when comparing the "expected_state" while the new state wasn't reflected yet.
New language (pt) and improved logging
No logic changes or fixes.
New “Expected State” option
v1.6.0 EXPECTED_STATE