mirror of
https://github.com/home-assistant/core
synced 2024-10-14 22:57:16 +00:00
Add icon translations to Bring (#111351)
This commit is contained in:
parent
33a4040f8e
commit
5849227033
9
homeassistant/components/bring/icons.json
Normal file
9
homeassistant/components/bring/icons.json
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"entity": {
|
||||
"todo": {
|
||||
"shopping_list": {
|
||||
"default": "mdi:cart"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -49,7 +49,7 @@ class BringTodoListEntity(
|
|||
):
|
||||
"""A To-do List representation of the Bring! Shopping List."""
|
||||
|
||||
_attr_icon = "mdi:cart"
|
||||
_attr_translation_key = "shopping_list"
|
||||
_attr_has_entity_name = True
|
||||
_attr_supported_features = (
|
||||
TodoListEntityFeature.CREATE_TODO_ITEM
|
||||
|
|
Loading…
Reference in a new issue