mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Add icon translations to Shopping list (#112223)
This commit is contained in:
parent
fe60cdd821
commit
1d936e9bbf
19
homeassistant/components/shopping_list/icons.json
Normal file
19
homeassistant/components/shopping_list/icons.json
Normal file
@ -0,0 +1,19 @@
|
||||
{
|
||||
"entity": {
|
||||
"todo": {
|
||||
"shopping_list": {
|
||||
"default": "mdi:cart"
|
||||
}
|
||||
}
|
||||
},
|
||||
"services": {
|
||||
"add_item": "mdi:cart-plus",
|
||||
"remove_item": "mdi:cart-remove",
|
||||
"complete_item": "mdi:cart-check",
|
||||
"incomplete_item": "mdi:cart-off",
|
||||
"complete_all": "mdi:cart-check",
|
||||
"incomplete_all": "mdi:cart-off",
|
||||
"clear_completed_items": "mdi:cart-remove",
|
||||
"sort": "mdi:sort"
|
||||
}
|
||||
}
|
@ -32,7 +32,6 @@ class ShoppingTodoListEntity(TodoListEntity):
|
||||
"""A To-do List representation of the Shopping List."""
|
||||
|
||||
_attr_has_entity_name = True
|
||||
_attr_icon = "mdi:cart"
|
||||
_attr_translation_key = "shopping_list"
|
||||
_attr_should_poll = False
|
||||
_attr_supported_features = (
|
||||
|
Loading…
x
Reference in New Issue
Block a user