tungmeister / hass-blind-card

Blind card for Home Assistant Lovelace UI
Apache License 2.0
32 stars 13 forks source link

not a issue #9

Open rchiileea opened 2 years ago

rchiileea commented 2 years ago

Hey bud, not looking to gain anything from this, but I added you to a fork because I have no idea about all this and could not add the images in a zip to your files for you to see, I have created a representation of the ikea blinds that seem so popular using the files in your project and just forked it, but still dont know how to put them into the project, I was wondering do you want to just add them to yours from the fork (and then ill delete the fork).

smic717394 commented 2 years ago

Its easy. Place the images in a folder called pictures in the www folder. then open the java file and modify line 175 .sc-shutter-selector-picture { background-image: url(data:@file/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJkAA. with the image path .sc-shutter-selector-picture { background-image: url(/local/pictures/windows.png); } same for line 177 and 179

tungmeister commented 2 years ago

As above. Currently the images are encoded within the script.