Add icon translations to Bring (#111351)

This commit is contained in:
Joost Lekkerkerker 2024-02-25 13:59:41 +01:00 committed by GitHub
parent 33a4040f8e
commit 5849227033
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 1 deletions

View file

@ -0,0 +1,9 @@
{
"entity": {
"todo": {
"shopping_list": {
"default": "mdi:cart"
}
}
}
}

View file

@ -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