Xiaomi S50 - custom card not working

Guys,

Originally posted this in a general topic for the card I’m trying to get to work but I don’t think it’s the card and think it’s me doing something wrong. After getting the “custom sliders” to work yesterday -Figured it’d be pretty much the same but still doesn’t work.

Trying to get this card to work:

  • I have uploaded the JS file in the /config/www/ folder - see screenshot.

Screen Shot 2020-02-09 at 15.54.09

Then added the resources into the yaml config via de raw config editor:

Screen Shot 2020-02-09 at 15.54.55

I expected to add a manual card after this but getting an error that the card doesn’t exist.

I cleared the browsers cache and restarted HA. What am I missing here?

TIA!

update for those running into the same issue; It was the “-” in front of type in the card config.