forked from home-assistant/core
Added missing docstring
This commit is contained in:
@@ -122,6 +122,7 @@ 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, ""))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user