mirror of
https://github.com/home-assistant/core.git
synced 2025-08-02 04:05:06 +02:00
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__)
|
||||
|
||||
ATTR_BASE_URL = "base_url"
|
||||
ATTR_CURRENCY = "currency"
|
||||
ATTR_EXTERNAL_URL = "external_url"
|
||||
ATTR_INTERNAL_URL = "internal_url"
|
||||
ATTR_LOCATION_NAME = "location_name"
|
||||
@@ -196,7 +195,6 @@ class APIDiscoveryView(HomeAssistantView):
|
||||
# always needs authentication
|
||||
ATTR_REQUIRES_API_PASSWORD: True,
|
||||
ATTR_VERSION: __version__,
|
||||
ATTR_CURRENCY: None,
|
||||
}
|
||||
|
||||
with suppress(NoURLAvailableError):
|
||||
|
Reference in New Issue
Block a user