Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions custom_components/recycle_app/const.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""RecycleApp Constants."""

from base64 import b64encode
from typing import Final

Expand All @@ -25,6 +26,8 @@
"5d610b86162c063cc0400102": '<svg xmlns="http://www.w3.org/2000/svg" width="128" height="128" style="background:##COLOR##;shape-rendering:geometricPrecision;text-rendering:geometricPrecision;image-rendering:optimizeQuality;fill-rule:evenodd;clip-rule:evenodd"><path fill="#fefffe" d="M51.5-.5h24c27.667 7 45 24.333 52 52v24c-7 27.667-24.333 45-52 52h-24c-27.658-6.991-44.991-24.325-52-52v-24c7-27.667 24.333-45 52-52Zm7 4c36.277.45 57.777 18.45 64.5 54 1.177 31.49-12.99 52.656-42.5 63.5a30.463 30.463 0 0 1-9 1.5v-16c9.751-.806 18.751-3.806 27-9-8.776-2.443-15.11-7.776-19-16a96.39 96.39 0 0 1 11-2.5c.457-.414.79-.914 1-1.5-8.549-3.715-14.549-9.882-18-18.5a52.204 52.204 0 0 0 10-1.5c-8.915-4.45-15.581-11.117-20-20-4.326 8.993-10.993 15.66-20 20l10 2c-3.674 8.34-9.674 14.34-18 18 3.75 1.941 7.75 3.274 12 4-3.684 8.36-10.017 13.693-19 16 8.249 5.194 17.249 8.194 27 9v16c-32.16-6.499-49.494-26.166-52-59 3.12-34.115 21.454-54.115 55-60Z" style="opacity:.878"/></svg>',
# Textiles
"5d610b86162c063cc0400131": '<svg xmlns="http://www.w3.org/2000/svg" width="128" height="128" style="background:##COLOR##;shape-rendering:geometricPrecision;text-rendering:geometricPrecision;image-rendering:optimizeQuality;fill-rule:evenodd;clip-rule:evenodd"><path fill="#fefffe" d="M51.5-.5h24q41.46 10.46 52 52v24q-10.546 41.545-52 52h-24q-41.46-10.46-52-52v-24q10.54-41.54 52-52m6 2q61.226 1.229 68 62-5.497 56.497-62 62-56.503-5.503-62-62 4.497-52.486 56-62" style="opacity:.66"/><path fill="#fefffe" d="M48.5 25.5h8q-3.727 15.02 11 11.5 5.624-4.563 2-10.5 4.419-1.732 9-.5 16.438 8.196 29 21.5a231 231 0 0 0-11 14.5q-5.685-.363-10-4.5a530 530 0 0 0-1 46h-45q1.467-23.01 0-46a48.5 48.5 0 0 0-7 4.5q-1.5 1-3 0a366 366 0 0 0-11-14.5q12.858-13.383 29-22" style="opacity:.962"/></svg>',
# Waste Container
"609a4b94e85d9b1e58b530e8": '<svg xmlns="http://www.w3.org/2000/svg" width="128" height="128" style="background:##COLOR##;shape-rendering:geometricPrecision;text-rendering:geometricPrecision;image-rendering:optimizeQuality;fill-rule:evenodd;clip-rule:evenodd"><path fill="#fefffe" d="M52.5-.5h22q43.014 10.013 53 53v22q-10.014 43.014-53 53h-22q-43.013-10.014-53-53v-22q10.013-43.013 53-53m9 4q56.435 4.184 62 60.5-5.953 54.453-60.5 59.5Q8.547 117.547 3.5 63q5.625-52.872 58-59.5m7 95q-.5 1.5-2 2 0-2 2-2m-2 2q-2 5 0 10-.925-.166-1.5-1a16.25 16.25 0 0 1 0-8q.575-.834 1.5-1" style="opacity:.805"/><path fill="#fefffe" d="M47.5 16.5q5.865-.356 11 2.5l27 13q5.8 5.31 0 10.5a1226 1226 0 0 1-42-20.5q1.482-3.25 4-5.5" style="opacity:.89"/><path fill="#fefffe" d="M39.5 43.5h47v9h-47z" style="opacity:.959"/><path fill="#fefffe" d="M70.5 97.5q-1.487-.257-2 1-2 0-2 2-.925.166-1.5 1a16.25 16.25 0 0 0 0 8q.575.834 1.5 1-.128 1.494 1 2.5a64.2 64.2 0 0 1-16 0 6.98 6.98 0 0 1-3.5-2.5Q44.5 82.735 41.5 55a925 925 0 0 1 43-.5 1232 1232 0 0 1-5 44q-4.47-3.009-9-1" style="opacity:.965"/><path fill="#fefffe" d="M70.5 97.5q13.884.305 9 13-6.551 5.982-13 0-2-5 0-10 1.5-.5 2-2 1.487.257 2-1" style="opacity:.88"/></svg>',
}

# Some cities use another icon for the same purpose, to avoid duplication
Expand Down