Icon translation for imap mail count sensor (#108576)
This commit is contained in:
parent
a7c94dda73
commit
c3da51db4e
2 changed files with 14 additions and 2 deletions
|
@ -20,6 +20,8 @@ IMAP_MAIL_COUNT_DESCRIPTION = SensorEntityDescription(
|
|||
key="imap_mail_count",
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
suggested_display_precision=0,
|
||||
translation_key="imap_mail_count",
|
||||
name=None,
|
||||
)
|
||||
|
||||
|
||||
|
@ -40,9 +42,7 @@ class ImapSensor(
|
|||
):
|
||||
"""Representation of an IMAP sensor."""
|
||||
|
||||
_attr_icon = "mdi:email-outline"
|
||||
_attr_has_entity_name = True
|
||||
_attr_name = None
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue