Skip to content

Commit b01b5be

Browse files
committed
Add brand icon artwork and instructions for the home-assistant/brands PR
1 parent 8246ec1 commit b01b5be

3 files changed

Lines changed: 26 additions & 0 deletions

File tree

‎brands/README.md‎

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Integration icon
2+
3+
Home Assistant does not take the icon shown on the Integrations page from the
4+
integration itself - it loads it from `brands.home-assistant.io`. Until the
5+
domain exists there, the card shows a grey "icon not available" placeholder.
6+
There is no local override for it.
7+
8+
To fix it, open a pull request against https://github.com/home-assistant/brands
9+
adding this folder as:
10+
11+
custom_integrations/deye_modbus/icon.png (256x256)
12+
custom_integrations/deye_modbus/icon@2x.png (512x512)
13+
14+
Rules that these files already follow:
15+
- square, PNG with transparent background, trimmed (no extra padding)
16+
- icon.png is exactly 256x256, icon@2x.png exactly 512x512
17+
- `logo.png` is optional; when it is missing the icon is used instead
18+
19+
The PR description should link the public repository for the integration. The
20+
domain in the folder name must match `domain` in `custom_components/deye_modbus/manifest.json`
21+
(`deye_modbus`), otherwise the icon will not be picked up.
22+
23+
Note: brands only serves icons for public integrations, so the pull request has
24+
to point at a public repo (the upstream Developer089/deye-modbus-ha, or a public
25+
fork). After it is merged the icon appears for everyone using that domain,
26+
including this personal fork.
11.3 KB
Loading
20.4 KB
Loading

0 commit comments

Comments
 (0)