thomasloven / lovelace-state-switch

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

Document card type #12

Closed tjorim closed 4 years ago

tjorim commented 4 years ago

Not sure if this card is of type js or module.

This isn't documented anywhere as stated in another issue:

(I both tried "module" and "js", the documentation is not clear about this)

So what should it be? From a quick test it looks like both module and js work.

thomasloven commented 4 years ago

Fixed.

When in doubt, go with module. If that doesn't work, try js.