Add entity translations to Google Mail (#95312)
This commit is contained in:
parent
16bcbe3d22
commit
10f116a507
2 changed files with 8 additions and 1 deletions
|
@ -21,7 +21,7 @@ SCAN_INTERVAL = timedelta(minutes=15)
|
|||
|
||||
SENSOR_TYPE = SensorEntityDescription(
|
||||
key="vacation_end_date",
|
||||
name="Vacation end date",
|
||||
translation_key="vacation_end_date",
|
||||
icon="mdi:clock",
|
||||
device_class=SensorDeviceClass.TIMESTAMP,
|
||||
)
|
||||
|
|
|
@ -30,5 +30,12 @@
|
|||
},
|
||||
"application_credentials": {
|
||||
"description": "Follow the [instructions]({more_info_url}) for [OAuth consent screen]({oauth_consent_url}) to give Home Assistant access to your Google Mail. You also need to create Application Credentials linked to your account:\n1. Go to [Credentials]({oauth_creds_url}) and click **Create Credentials**.\n1. From the drop-down list select **OAuth client ID**.\n1. Select **Web application** for the Application Type.\n\n"
|
||||
},
|
||||
"entity": {
|
||||
"sensor": {
|
||||
"vacation_end_date": {
|
||||
"name": "Vacation end date"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue