Rename Lovelace to Dashboards (#68346)
parent
4cc8998ea7
commit
171c58fed2
|
@ -33,7 +33,7 @@ async def async_get_media_browser_root_object(
|
||||||
return []
|
return []
|
||||||
return [
|
return [
|
||||||
BrowseMedia(
|
BrowseMedia(
|
||||||
title="Lovelace",
|
title="Dashboards",
|
||||||
media_class=MEDIA_CLASS_APP,
|
media_class=MEDIA_CLASS_APP,
|
||||||
media_content_id="",
|
media_content_id="",
|
||||||
media_content_type=DOMAIN,
|
media_content_type=DOMAIN,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"domain": "lovelace",
|
"domain": "lovelace",
|
||||||
"name": "Lovelace",
|
"name": "Dashboards",
|
||||||
"documentation": "https://www.home-assistant.io/integrations/lovelace",
|
"documentation": "https://www.home-assistant.io/integrations/lovelace",
|
||||||
"codeowners": ["@home-assistant/frontend"]
|
"codeowners": ["@home-assistant/frontend"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -70,7 +70,7 @@ async def test_root_object(hass):
|
||||||
)
|
)
|
||||||
assert len(root) == 1
|
assert len(root) == 1
|
||||||
item = root[0]
|
item = root[0]
|
||||||
assert item.title == "Lovelace"
|
assert item.title == "Dashboards"
|
||||||
assert item.media_class == lovelace_cast.MEDIA_CLASS_APP
|
assert item.media_class == lovelace_cast.MEDIA_CLASS_APP
|
||||||
assert item.media_content_id == ""
|
assert item.media_content_id == ""
|
||||||
assert item.media_content_type == lovelace_cast.DOMAIN
|
assert item.media_content_type == lovelace_cast.DOMAIN
|
||||||
|
|
Loading…
Reference in New Issue