Skip to content

v1.16

Choose a tag to compare

@redstone99 redstone99 released this 24 Aug 12:39

Breaking change

  • data dictionary templates have changed. First, you can now specify templates in nested sub-dictionaries. Second, templates will now always produce string values, which simplifies the syntax and removes the need for extra quotes. So now you can say:
        data:
           entity_id: "{{ alert_entity_id }}"
           actions:
              - action: "{% if ....%}...{% endif  %}"
    
    If you use templates in data dictionary fields, you'll get a one-time warning notification of this change. A downside of this change is that you can no longer use templates to produce boolean or numeric typed values in data fields. We can figure out a way to support bool/numeric templates in data fields if people want it.

Changes

  • Templates are now supported in the threshold fields: hysteresis, maximum, and minimum.
    If there is an error in these templates, an error alert will fire each time the value or those templates update. I recommend setting throttle_fires_per_mins in your defaults or for the alert2_error alert.