Fix iOS app crashing on None values in Zeroconf service info (#36490)

This commit is contained in:
Franck Nijhof 2020-06-05 21:43:58 +02:00 committed by GitHub
parent 0bf64e9a2c
commit 4950cbee1c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -130,10 +130,10 @@ def setup(hass, config):
"location_name": hass.config.location_name,
"uuid": uuid,
"version": __version__,
"external_url": None,
"internal_url": None,
"external_url": "",
"internal_url": "",
# Old base URL, for backward compatibility
"base_url": None,
"base_url": "",
# Always needs authentication
"requires_api_password": True,
}