mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Added missing docstring
This commit is contained in:
parent
2226f8b6a9
commit
cb33b3bf24
@ -122,8 +122,9 @@ DOMAIN_ICONS = {
|
|||||||
|
|
||||||
|
|
||||||
def _get_domain_icon(domain):
|
def _get_domain_icon(domain):
|
||||||
|
""" Returns HTML that shows domain icon. """
|
||||||
return "<span class='glyphicon {}'></span>".format(
|
return "<span class='glyphicon {}'></span>".format(
|
||||||
DOMAIN_ICONS.get(domain, ""))
|
DOMAIN_ICONS.get(domain, ""))
|
||||||
|
|
||||||
|
|
||||||
def setup(hass, api_password, server_port=None, server_host=None):
|
def setup(hass, api_password, server_port=None, server_host=None):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user