mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 14:17:45 +00:00
Fix iOS app crashing on None values in Zeroconf service info (#36490)
This commit is contained in:
parent
0bf64e9a2c
commit
4950cbee1c
@ -130,10 +130,10 @@ def setup(hass, config):
|
|||||||
"location_name": hass.config.location_name,
|
"location_name": hass.config.location_name,
|
||||||
"uuid": uuid,
|
"uuid": uuid,
|
||||||
"version": __version__,
|
"version": __version__,
|
||||||
"external_url": None,
|
"external_url": "",
|
||||||
"internal_url": None,
|
"internal_url": "",
|
||||||
# Old base URL, for backward compatibility
|
# Old base URL, for backward compatibility
|
||||||
"base_url": None,
|
"base_url": "",
|
||||||
# Always needs authentication
|
# Always needs authentication
|
||||||
"requires_api_password": True,
|
"requires_api_password": True,
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user