thomasloven / lovelace-state-switch

🔹Dynamically replace lovelace cards depending on occasion
MIT License
382 stars 27 forks source link

Example code for transition example animation #38

Closed andrewenriquez closed 2 years ago

andrewenriquez commented 3 years ago

I was wondering if you could provide the example code for the animation at the bottom of the main page. Its in the transitions section of and has buttons with numbered labels. I'm trying to create a state-switch for multiple remotes from my harmony integration and would like to select the remote but not sure how.

jaswalters commented 3 years ago

An example is provided under the usage section. Just follow the lead and put in your transitions. Use one of the other examples and just add the transitions.

type: custom:state-switch entity: default: transition: transition_time: states: <state 1>: <card 1> <state 2>: <card 2>