Fix map icons
This commit is contained in:
parent
ec4495bd0c
commit
0ef9882e2e
2 changed files with 3 additions and 3 deletions
|
@ -10,5 +10,5 @@ DOMAIN = 'map'
|
||||||
async def async_setup(hass, config):
|
async def async_setup(hass, config):
|
||||||
"""Register the built-in map panel."""
|
"""Register the built-in map panel."""
|
||||||
await hass.components.frontend.async_register_built_in_panel(
|
await hass.components.frontend.async_register_built_in_panel(
|
||||||
'map', 'map', 'hass:account-location')
|
'map', 'map', 'hass:tooltip-account')
|
||||||
return True
|
return True
|
||||||
|
|
|
@ -249,7 +249,7 @@ async def test_get_panels(hass, hass_ws_client):
|
||||||
"""Test get_panels command."""
|
"""Test get_panels command."""
|
||||||
await async_setup_component(hass, 'frontend')
|
await async_setup_component(hass, 'frontend')
|
||||||
await hass.components.frontend.async_register_built_in_panel(
|
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)
|
client = await hass_ws_client(hass)
|
||||||
await client.send_json({
|
await client.send_json({
|
||||||
|
@ -264,7 +264,7 @@ async def test_get_panels(hass, hass_ws_client):
|
||||||
assert msg['success']
|
assert msg['success']
|
||||||
assert msg['result']['map']['component_name'] == 'map'
|
assert msg['result']['map']['component_name'] == 'map'
|
||||||
assert msg['result']['map']['url_path'] == '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'
|
assert msg['result']['map']['title'] == 'Map'
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue