Fix map icons

pull/20602/head
Bram Kragten 2019-01-30 17:09:56 +01:00
parent ec4495bd0c
commit 0ef9882e2e
2 changed files with 3 additions and 3 deletions

View File

@ -10,5 +10,5 @@ DOMAIN = 'map'
async def async_setup(hass, config):
"""Register the built-in map panel."""
await hass.components.frontend.async_register_built_in_panel(
'map', 'map', 'hass:account-location')
'map', 'map', 'hass:tooltip-account')
return True

View File

@ -249,7 +249,7 @@ async def test_get_panels(hass, hass_ws_client):
"""Test get_panels command."""
await async_setup_component(hass, 'frontend')
await hass.components.frontend.async_register_built_in_panel(
'map', 'Map', 'mdi:account-location')
'map', 'Map', 'mdi:tooltip-account')
client = await hass_ws_client(hass)
await client.send_json({
@ -264,7 +264,7 @@ async def test_get_panels(hass, hass_ws_client):
assert msg['success']
assert msg['result']['map']['component_name'] == 'map'
assert msg['result']['map']['url_path'] == 'map'
assert msg['result']['map']['icon'] == 'mdi:account-location'
assert msg['result']['map']['icon'] == 'mdi:tooltip-account'
assert msg['result']['map']['title'] == 'Map'