Skip to content

Commit

Permalink
Add icon translations to Cert expiry (home-assistant#111354)
Browse files Browse the repository at this point in the history
  • Loading branch information
joostlek authored and TheNoim committed Feb 25, 2024
1 parent 9da935b commit ff121e0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
9 changes: 9 additions & 0 deletions homeassistant/components/cert_expiry/icons.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"entity": {
"sensor": {
"certificate_expiry": {
"default": "mdi:certificate"
}
}
}
}
1 change: 0 additions & 1 deletion homeassistant/components/cert_expiry/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ async def async_setup_entry(
class CertExpiryEntity(CoordinatorEntity[CertExpiryDataUpdateCoordinator]):
"""Defines a base Cert Expiry entity."""

_attr_icon = "mdi:certificate"
_attr_has_entity_name = True

@property
Expand Down

0 comments on commit ff121e0

Please sign in to comment.