Skip to content

HGP-69: Set icons for all entities - #70

Merged
JtheGunner merged 2 commits into
mainfrom
style/HGP-69-set-entity-icons
Nov 27, 2026
Merged

JtheGunner merged 2 commits into
mainfrom
style/HGP-69-set-entity-icons

Conversation

@JtheGunner

Copy link
Copy Markdown
Owner

YouTrack: https://youtrack.xn--wrm-hoa.li/issue/HGP-69

Every sensor, binary sensor and event entity now has a fitting icon instead of Home Assistant's default mdi:eye.

  • icons.json maps every translation_key to an icon; CI state, last workflow result and the workflow-running sensor switch icon with their state
  • Custom query sensors use mdi:code-braces
  • tests/test_icons.py checks that every translated entity has a mdi: icon and that none falls back to the eye
  • CHANGELOG and README updated

Commits:

  • style: Set icons for all entities via icons.json
  • docs: Mention entity icons in the README

Test plan

  • pytest -q, ruff check ., ruff format --check ., mypy custom_components pass
  • In Home Assistant, check that entities of a profile, a repository and a custom query show distinct icons

Every sensor, binary sensor and event now has a fitting icon instead of the default eye. CI state, last workflow result and the workflow-running sensor switch icon with their state; custom query sensors use a code icon.
@JtheGunner
JtheGunner merged commit 9253ed2 into main Nov 27, 2026
4 checks passed
@JtheGunner
JtheGunner deleted the style/HGP-69-set-entity-icons branch November 27, 2026 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant