mirror of https://github.com/home-assistant/core
Add entity translations to Slack (#96149)
This commit is contained in:
parent
2c9910d9b6
commit
92693d5fde
|
@ -29,7 +29,7 @@ async def async_setup_entry(
|
|||
hass.data[DOMAIN][entry.entry_id][SLACK_DATA],
|
||||
SensorEntityDescription(
|
||||
key="do_not_disturb_until",
|
||||
name="Do not disturb until",
|
||||
translation_key="do_not_disturb_until",
|
||||
icon="mdi:clock",
|
||||
device_class=SensorDeviceClass.TIMESTAMP,
|
||||
),
|
||||
|
|
|
@ -25,5 +25,12 @@
|
|||
"abort": {
|
||||
"already_configured": "[%key:common::config_flow::abort::already_configured_service%]"
|
||||
}
|
||||
},
|
||||
"entity": {
|
||||
"sensor": {
|
||||
"do_not_disturb_until": {
|
||||
"name": "Do not disturb until"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue