mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 09:17:10 +00:00
Remove empty currency from discovery info (#54478)
This commit is contained in:
parent
cb26f334c3
commit
13c34d646f
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user