Yep I did exactly the same for my remotes :), they are in a separate remotes floorplan with their own svgs and css files You do have to rename some files and I changed the floorplan to remote in some of the files as well since they reference floorplan.
Thanks keithh666,
If I don’t want to use a css files, because it doe metter for a Simple remore, what I have to change?
You can see at the top of the remore the Error ladina stylesheet in red, haw I can avoid this error message?
For the reame problem I try to rename a svg file and after that search the other file who need modification.
Ok, actually it does matter about the css file as you need some feedback when a button is clicked.
So here is what I have done…
The directory structure is the same as for floorplan… my remote is called sstvremote (for Samsung TV Remote)
Under config dir I have
sstvremoteplan.yaml -
at the top of the file I’ve given it a name: SSTVRemote
and told it where to find the image (svg file) and stylesheet (css file)
name: SSTVRemote
image: /local/custom_ui/sstvremote/sstvremote.svg
stylesheet: /local/custom_ui/sstvremote/sstvremote.css
Under www\custom_ui I have
state-card-sstvremote.html
find and replace floorplan with sstvremote - mine is only 22 lines long as it’s a very old file.
Under www\custom_ui\sstvremote I have
ha-sstvremote.html
find and replace floorplan with sstvremote
sstvremote.svg
sstvremote.css
which contains …