|
| 1 | +# Branding / integration icon |
| 2 | + |
| 3 | +Home Assistant and HACS **do not read icons from this repository**. The icon |
| 4 | +shown for an integration comes from the central |
| 5 | +[`home-assistant/brands`](https://github.com/home-assistant/brands) repo. Until |
| 6 | +a brand is accepted there, HA shows a generic placeholder — that is expected. |
| 7 | + |
| 8 | +`dtsu666_meter.svg` here is an **original placeholder mark** (a neutral |
| 9 | +energy-meter motif), used only for this repo's README / GitHub social preview. |
| 10 | +It is intentionally **not** the CHINT corporate logo. |
| 11 | + |
| 12 | +## How to get a real icon into Home Assistant |
| 13 | + |
| 14 | +Submit a pull request to `home-assistant/brands`: |
| 15 | + |
| 16 | +``` |
| 17 | +brands/ |
| 18 | + custom_integrations/ |
| 19 | + dtsu666_meter/ |
| 20 | + icon.png # 256 x 256, square, transparent background, trimmed |
| 21 | + logo.png # optional, wider wordmark; transparent background |
| 22 | + icon@2x.png # optional 512 x 512 hDPI |
| 23 | +``` |
| 24 | + |
| 25 | +Requirements (see `home-assistant/brands` CONTRIBUTING): |
| 26 | + |
| 27 | +- PNG, transparent background, content trimmed to the edges. |
| 28 | +- `icon.png` exactly 256×256 (square). `icon@2x.png` 512×512 if provided. |
| 29 | +- Optimised (e.g. `pngquant` / `oxipng`). |
| 30 | +- The domain folder name **must** match the integration domain: |
| 31 | + `dtsu666_meter`. |
| 32 | + |
| 33 | +Steps: |
| 34 | + |
| 35 | +1. Fork `home-assistant/brands`, add the files above. |
| 36 | +2. `python3 -m script.hassfest` style checks run in CI there — keep sizes exact. |
| 37 | +3. Open the PR; the HA team reviews. Once merged, HA/HACS pick the icon up |
| 38 | + automatically (no release needed on this side). |
| 39 | + |
| 40 | +## About the CHINT logo (trademark) |
| 41 | + |
| 42 | +The CHINT logo is CHINT's trademark. `home-assistant/brands` does accept |
| 43 | +manufacturer logos for device integrations (common practice), **but the image |
| 44 | +must be an officially sourced asset** — obtain it from CHINT brand resources or |
| 45 | +an authorised source. Do not trace/recreate it. |
| 46 | + |
| 47 | +This project cannot generate or reproduce that trademarked raster logo. Drop an |
| 48 | +officially sourced `icon.png` (256×256, transparent) into this folder and it can |
| 49 | +be wired into the brands PR. |
0 commit comments