mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 09:17:10 +00:00
Use hass iconset (#14185)
This commit is contained in:
parent
e370d523ec
commit
ad9621ebe5
@ -21,7 +21,7 @@ ON_DEMAND = ('zwave',)
|
||||
async def async_setup(hass, config):
|
||||
"""Set up the config component."""
|
||||
await hass.components.frontend.async_register_built_in_panel(
|
||||
'config', 'config', 'mdi:settings')
|
||||
'config', 'config', 'hass:settings')
|
||||
|
||||
async def setup_panel(panel_name):
|
||||
"""Set up a panel."""
|
||||
|
@ -178,7 +178,7 @@ def async_setup(hass, config):
|
||||
|
||||
if 'frontend' in hass.config.components:
|
||||
yield from hass.components.frontend.async_register_built_in_panel(
|
||||
'hassio', 'Hass.io', 'mdi:home-assistant')
|
||||
'hassio', 'Hass.io', 'hass:home-assistant')
|
||||
|
||||
if 'http' in config:
|
||||
yield from hassio.update_hass_api(config['http'])
|
||||
|
@ -274,7 +274,7 @@ async def async_setup(hass, config):
|
||||
|
||||
hass.http.register_view(HistoryPeriodView(filters, use_include_order))
|
||||
await hass.components.frontend.async_register_built_in_panel(
|
||||
'history', 'history', 'mdi:poll-box')
|
||||
'history', 'history', 'hass:poll-box')
|
||||
|
||||
return True
|
||||
|
||||
|
@ -100,7 +100,7 @@ async def setup(hass, config):
|
||||
hass.http.register_view(LogbookView(config.get(DOMAIN, {})))
|
||||
|
||||
await hass.components.frontend.async_register_built_in_panel(
|
||||
'logbook', 'logbook', 'mdi:format-list-bulleted-type')
|
||||
'logbook', 'logbook', 'hass:format-list-bulleted-type')
|
||||
|
||||
hass.services.async_register(
|
||||
DOMAIN, 'log', log_message, schema=LOG_MESSAGE_SCHEMA)
|
||||
|
Loading…
x
Reference in New Issue
Block a user