forked from home-assistant/core
Remove empty currency from discovery info (#54478)
This commit is contained in:
@@ -43,7 +43,6 @@ from homeassistant.helpers.system_info import async_get_system_info
|
|||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
ATTR_BASE_URL = "base_url"
|
ATTR_BASE_URL = "base_url"
|
||||||
ATTR_CURRENCY = "currency"
|
|
||||||
ATTR_EXTERNAL_URL = "external_url"
|
ATTR_EXTERNAL_URL = "external_url"
|
||||||
ATTR_INTERNAL_URL = "internal_url"
|
ATTR_INTERNAL_URL = "internal_url"
|
||||||
ATTR_LOCATION_NAME = "location_name"
|
ATTR_LOCATION_NAME = "location_name"
|
||||||
@@ -196,7 +195,6 @@ class APIDiscoveryView(HomeAssistantView):
|
|||||||
# always needs authentication
|
# always needs authentication
|
||||||
ATTR_REQUIRES_API_PASSWORD: True,
|
ATTR_REQUIRES_API_PASSWORD: True,
|
||||||
ATTR_VERSION: __version__,
|
ATTR_VERSION: __version__,
|
||||||
ATTR_CURRENCY: None,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
with suppress(NoURLAvailableError):
|
with suppress(NoURLAvailableError):
|
||||||
|
Reference in New Issue
Block a user