Rename Lovelace to Dashboards (#68346)

pull/68156/head
Franck Nijhof 2022-03-18 23:29:57 +01:00 committed by GitHub
parent 4cc8998ea7
commit 171c58fed2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -33,7 +33,7 @@ async def async_get_media_browser_root_object(
return []
return [
BrowseMedia(
title="Lovelace",
title="Dashboards",
media_class=MEDIA_CLASS_APP,
media_content_id="",
media_content_type=DOMAIN,

View File

@ -1,6 +1,6 @@
{
"domain": "lovelace",
"name": "Lovelace",
"name": "Dashboards",
"documentation": "https://www.home-assistant.io/integrations/lovelace",
"codeowners": ["@home-assistant/frontend"]
}

View File

@ -70,7 +70,7 @@ async def test_root_object(hass):
)
assert len(root) == 1
item = root[0]
assert item.title == "Lovelace"
assert item.title == "Dashboards"
assert item.media_class == lovelace_cast.MEDIA_CLASS_APP
assert item.media_content_id == ""
assert item.media_content_type == lovelace_cast.DOMAIN