Version 2.0: Fields!
Import Version |
Github Link |
Compare Changes
Multi-device Variant:
Import Version |
Github Link |
Compare Changes
Whatβs Changed
If you are already using Version 2 Beta 2, you may skip this release.
Service to Notify has been deprecated, stay on v1.6.1 if you rely on this option.
Existing scripts that do not use the above should not be affected this release.
π«³π» ![]()
iOS Notifications with Camera Snapshots showing Failed to load attachment.
Android: Added Show on Android Autooption.
Enable Timeout Action(s)option to dynamically disable timeout actions
Fields Support Added! (requires Home Assistant 2023.11 or newer)
How to update:
Home Assistant 2023.12 and up:
- Simply click on the
Import Version link.
Before Home Assistant 2023.12:
- See this reply
Things to check after updating:
- As usual, existing scripts should be loaded.
- If you have switched between either variants, check out this reply.
- Script should show one of:
Version 2.0Version 2.0 - Multi-device.
Preview:
Show/Hide: Script Fields with Templates
Example payload:
service: script.my_test_notifications
data:
field_title: >-
{{ state_attr("sun.sun", "friendly_name") }}
field_message: >-
{% if is_state("sun.sun", "above_horizon") -%}
The sun rose {{ relative_time(states.sun.sun.last_changed) }} ago.
{%- else -%}
The sun will rise at {{ as_timestamp(state_attr("sun.sun", "next_rising")) | timestamp_local }}.
{%- endif %}
Result:
Version 2 - 12 Dec 2023
- Fixed: iOS showing
Failed to load attachment - Refactor: Build payload in templates
- Deprecated:
π² Notification Strategydue to refactor. - Deprecated:
π² Service to notifydue to refactor. - Added: Support for fields
- Added:
π·οΈ Titlefield - Added:
π¬ Messagefield - Added:
π·οΈ Subtitlefield - Added:
πΈ Attachment: Camera Entity: Camera Entityfield - Added: Options show/hide fields
- Added:
βοΈ Enable TimeoutandβοΈ Enable Timeout Action(s)fields.
- Added:
- Added:
π Show on Android Autooption. - Added:
βοΈ Enable Timeout Action(s)option and field.
Notes:
- When enabling boolean fields with value of false, be sure to toggle them to true once, and then to false.
There seems to be a bug where the boolean value is not passed if itβs enabled and value is false without the toggle.- If you rely on
π² Service to notify, do not upgrade,Version 1.6.1will be the last version supporting that feature.



