dwains-lovelace-dashboard icon indicating copy to clipboard operation
dwains-lovelace-dashboard copied to clipboard

Invalid characters in filenames

Open tethlah opened this issue 2 years ago • 3 comments

When creating a custom card for an area, you use the card type in the filename when it creates a config file. The problem is that for the 76% of us who are windows users, the colon is an invalid filename character. So when I create a card that uses a custom card, I can't open, rename, move, copy, etc the file (i.e. custom:mushroom-media-player-card.yaml).

That said, any chance you could have it use something other than the literal type for the filename? Perhaps just regex replace illegal characters with an underscore or something else?

tethlah avatar Jan 20 '23 13:01 tethlah

This is a problem also on macOS (when config is mounted using Samba). Only option is to edit the file using the web editor, or via ssh.

haplm avatar Jan 30 '23 20:01 haplm

So is this solved then? I just checked and the filenames are still the same so they can't be edited, opened, or renamed.

tethlah avatar Mar 23 '23 02:03 tethlah

I will dig into this for v4

dwainscheeren avatar Mar 23 '23 10:03 dwainscheeren