Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge from master #1

Merged
merged 7 commits into from
Dec 29, 2022
Merged

Merge from master #1

merged 7 commits into from
Dec 29, 2022

Conversation

EddyK69
Copy link
Owner

@EddyK69 EddyK69 commented Dec 29, 2022

No description provided.

joBr99 and others added 7 commits December 28, 2022 23:18
* Add status functionality for non-entities

I wanted to show services on `cardGrid` pages conditionally, using the
`state` and `state_not` options and based on a `status` entity.
The documentation looked as if this was possible, however it didn't work
due to the order of evaluation.

This change makes it possible to hide any item using `state` /
`state_not`, based on either the `entity` itself or the information
provided by the `status` entity.

This basically implements #483, I think.

* Use if/then/else instead of and/or expression evaluation rules

This improves the readability of the code for people not familiar with
the evaluation of and / or expressions.

Co-authored-by: Daniel Albert <esclear@users.noreply.github.com>
Hotfix - us-p - DateString - Use long/short Weekday and long/short Month
Hotfix - us-p - DateString - Use long/short Weekday and long/short Month
@EddyK69 EddyK69 merged commit 2f0fab7 into EddyK69:main Dec 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants