Commit Graph
2 Commits
Author SHA1 Message Date
Artem Eliseev 6316af863b Replace the deprecated via_device with via_device_id
Home Assistant 2026.9 deprecates the `via_device` (domain, identifier)
tuple in favour of `via_device_id`, which takes the parent device's
registry id; `via_device` stops working in 2027.8.0.

Register the hub device explicitly in async_setup_entry before the
platforms are forwarded, so the per-identity entities can look it up and
pass its `.id`. The hub device info moves into a shared helper so both
call sites describe the same device.
2026-09-07 21:54:51 +03:00
Artem EliseevandClaude Opus 5 7902a2529e Add a brand icon
Since HA 2026.x the brands component serves
/api/brands/integration/<domain>/<image> from a custom integration's own
brand/ directory before falling back to the brands CDN, so without one the
integration renders as the grey placeholder. Add brand/icon.png (256x256) and
brand/icon@2x.png (512x512) - a mesh lattice, drawn by
make_brand_icons.py in the applications repo.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-07 21:43:17 +03:00