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

Several issues fixed #4 #1593

Merged
merged 5 commits into from
Jan 5, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix card_vertical_button
wilbiev committed Dec 29, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 2588810a1140fb4f6acbaddbb4a93af388a8d21d
Original file line number Diff line number Diff line change
@@ -85,12 +85,11 @@ card_vertical_button:
// If we need to support other entities we can add these options here.
return "";
]]]
target: |
[[[
var obj;
if( entity.entity_id.startsWith("input_select.") )
obj = { entity_id: entity.entity_id, option: variables.ulm_card_vertical_button_state };
else
obj = { entity_id: entity.entity_id };
return obj;
]]]
target:
entity_id: "[[[ return entity.entity_id; ]]]"
data:
option: |
[[[
if( entity.entity_id.startsWith("input_select.") )
return variables.ulm_card_vertical_button_state;
]]]