Skip to content

Comments

Fix month condition filtering in schedule sensor#397

Closed
Pulpyyyy wants to merge 2 commits intoaneeshd:mainfrom
Pulpyyyy:patch-1
Closed

Fix month condition filtering in schedule sensor#397
Pulpyyyy wants to merge 2 commits intoaneeshd:mainfrom
Pulpyyyy:patch-1

Conversation

@Pulpyyyy
Copy link
Contributor

Should fix, this kind of generated attr

condition_text: >-
          Days: Mon, Tue, Wed, Thu, Fri, Sun AND Month: 11, 12, 1, 2, 3 AND
          Month: 11, 12, 1, 2, 3 AND Month: 11, 12, 1, 2, 3 AND Month: 11, 12,
          1, 2, 3 AND Month: 11, 12, 1, 2, 3 AND Month: 11, 12, 1, 2, 3 AND
          Month: 11, 12, 1, 2, 3

Should fix, this kind of generated attr 
```
Should fix, this kind of generated attr         condition_text: >-
          Days: Mon, Tue, Wed, Thu, Fri, Sun AND Month: 11, 12, 1, 2, 3 AND
          Month: 11, 12, 1, 2, 3 AND Month: 11, 12, 1, 2, 3 AND Month: 11, 12,
          1, 2, 3 AND Month: 11, 12, 1, 2, 3 AND Month: 11, 12, 1, 2, 3 AND
          Month: 11, 12, 1, 2, 3
```
Prevent duplicate month conditions in the conditions list.
@aneeshd
Copy link
Owner

aneeshd commented Jan 28, 2026

#398 seems to be a newer version, so closing this one

@aneeshd aneeshd closed this Jan 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants