Skip to content

Commit

Permalink
FIX: remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
panhans committed Jan 12, 2025
1 parent 4f97d67 commit 9742c19
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions blueprints/automation/panhans/entity_state_notification.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ blueprint:
⛑️ **Help & FAQ**: [Entity State Notification](https://community.home-assistant.io/t/entity-state-notification)
💿 **Version**: 3.1.1
💿 **Version**: 3.1.2
[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/Q5Q3QEH52)
Expand Down Expand Up @@ -429,13 +429,6 @@ variables:
{{ [] }}
{% endif %}
trigger_change_ts: >
{% if is_period_trigger %}
{{ trigger.event.data.last_changed }}
{% else %}
{{ as_timestamp([entity] | expand | map(attribute='last_changed') | first) }}
{% endif %}
# state evaluation
new_state: >
{% if is_period_trigger %}
Expand Down

0 comments on commit 9742c19

Please sign in to comment.