mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Move template breaking change up (#19629)
This commit is contained in:
parent
fabe1be174
commit
96be18bac6
@ -242,6 +242,40 @@ Below is a listing of the breaking change for this release, per subject or
|
||||
integration. Click on one of those to read more about the breaking change
|
||||
for that specific item.
|
||||
|
||||
{% details "Templates" %}
|
||||
|
||||
The following template filters and functions will now log a warning instead of
|
||||
silently returning the input if the input is invalid and no default value is specified:
|
||||
|
||||
- `acos`
|
||||
- `as_timestamp`
|
||||
- `asin`
|
||||
- `atan`
|
||||
- `atan2`
|
||||
- `cos`
|
||||
- `float`
|
||||
- `log`
|
||||
- `multiply`
|
||||
- `round`
|
||||
- `sin`
|
||||
- `sqrt`
|
||||
- `strptime`
|
||||
- `tan`
|
||||
- `timestamp_custom`
|
||||
- `timestamp_local`
|
||||
- `timestamp_utc`
|
||||
|
||||
The `float` filter will now log a warning instead of silently returning `0` if
|
||||
the input is invalid and no default value is specified.
|
||||
|
||||
In Home Assistant Core 2021.12 the template will fail to render if no default
|
||||
value is specified. You can specify a default value by passing to the filter like
|
||||
this: {% raw %}`{{ "abc" | float(default=0) }}`{% endraw %}.
|
||||
|
||||
([@emontnemery] - [#56453])
|
||||
|
||||
{% enddetails %}
|
||||
|
||||
{% details "Material Design Icons (MDI)" %}
|
||||
|
||||
The Material Design Icons have been upgraded to v6, which brings in around
|
||||
@ -594,39 +628,6 @@ attribute to use the separate sensors available for these states.
|
||||
|
||||
{% enddetails %}
|
||||
|
||||
{% details "Templates" %}
|
||||
|
||||
The following template filters and functions will now log a warning instead of
|
||||
silently returning the input if the input is invalid and no default value is specified:
|
||||
|
||||
- `acos`
|
||||
- `as_timestamp`
|
||||
- `asin`
|
||||
- `atan`
|
||||
- `atan2`
|
||||
- `cos`
|
||||
- `float`
|
||||
- `log`
|
||||
- `multiply`
|
||||
- `round`
|
||||
- `sin`
|
||||
- `sqrt`
|
||||
- `strptime`
|
||||
- `tan`
|
||||
- `timestamp_custom`
|
||||
- `timestamp_local`
|
||||
- `timestamp_utc`
|
||||
|
||||
The `float` filter will now log a warning instead of silently returning `0` if
|
||||
the input is invalid and no default value is specified.
|
||||
|
||||
In Home Assistant Core 2021.12 the template will fail to render if no default
|
||||
value is specified.
|
||||
|
||||
([@emontnemery] - [#56453])
|
||||
|
||||
{% enddetails %}
|
||||
|
||||
{% details "TP-Link Kasa Smart" %}
|
||||
|
||||
The TP-Link Kasa Smart integration migrated to configuration via the UI. Configuring
|
||||
|
Loading…
x
Reference in New Issue
Block a user