Skip to content

Commit

Permalink
Merge pull request #99 from horttorrell32/patch-1
Browse files Browse the repository at this point in the history
FIX: latest_entry_xxx to allow filter entires by scheduler string
  • Loading branch information
panhans authored Jan 14, 2025
2 parents db8ad46 + 05d80fc commit 89d2a4a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions blueprints/automation/panhans/advanced_heating_control.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2494,14 +2494,14 @@ variables:
| list %}
{% set selected_entries_days_and_schedule = plan | rejectattr('days','==',Undefined) | selectattr('days','search',current_day)
| rejectattr('scheduler','==',Undefined) | selectattr('scheduler','in',[scheduler_name])
| rejectattr('scheduler','==',Undefined) | selectattr('scheduler','in',scheduler_name)
| list %}
{% set selected_entries_days = plan | rejectattr('days','==',Undefined) | selectattr('days','search',current_day)
| selectattr('scheduler','in',[Undefined])
| list %}
{% set selected_entries_schedule = plan | rejectattr('scheduler','==',Undefined) | selectattr('scheduler','in',[scheduler_name])
{% set selected_entries_schedule = plan | rejectattr('scheduler','==',Undefined) | selectattr('scheduler','in',scheduler_name)
| selectattr('days','in',[Undefined])
| list %}
Expand Down Expand Up @@ -2533,14 +2533,14 @@ variables:
| list %}
{% set selected_entries_days_and_schedule = plan | rejectattr('days','==',Undefined) | selectattr('days','search',current_day)
| rejectattr('scheduler','==',Undefined) | selectattr('scheduler','in',[scheduler_name])
| rejectattr('scheduler','==',Undefined) | selectattr('scheduler','in',scheduler_name)
| list %}
{% set selected_entries_days = plan | rejectattr('days','==',Undefined) | selectattr('days','search',current_day)
| selectattr('scheduler','in',[Undefined])
| list %}
{% set selected_entries_schedule = plan | rejectattr('scheduler','==',Undefined) | selectattr('scheduler','in',[scheduler_name])
{% set selected_entries_schedule = plan | rejectattr('scheduler','==',Undefined) | selectattr('scheduler','in',scheduler_name)
| selectattr('days','in',[Undefined])
| list %}
Expand Down

0 comments on commit 89d2a4a

Please sign in to comment.