Skip to content

Floor plan layer sun/cloud effect with opacity #410

Closed Answered by OzGav
Trzinka asked this question in Q&A
Discussion options

You must be logged in to vote

Actually you don’t even need to do that as you could just set the opacity to the entity state as your switch/case is doing nothing

so

return `opacity: ${entity.state};`;

Replies: 1 comment 17 replies

Comment options

You must be logged in to vote
17 replies
@OzGav
Comment options

@Trzinka
Comment options

@OzGav
Comment options

@OzGav
Comment options

Answer selected by Trzinka
@Trzinka
Comment options

@OzGav
Comment options

@Trzinka
Comment options

@OzGav
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants