mirror of
https://github.com/home-assistant/core.git
synced 2025-09-07 13:51:39 +02:00
Fix warning (#21538)
This commit is contained in:
committed by
Paulus Schoutsen
parent
b05062e9d9
commit
97b93bcf7b
@@ -55,6 +55,9 @@ NO_LOGIN_ATTEMPT_THRESHOLD = -1
|
|||||||
|
|
||||||
def trusted_networks_deprecated(value):
|
def trusted_networks_deprecated(value):
|
||||||
"""Warn user trusted_networks config is deprecated."""
|
"""Warn user trusted_networks config is deprecated."""
|
||||||
|
if not value:
|
||||||
|
return value
|
||||||
|
|
||||||
_LOGGER.warning(
|
_LOGGER.warning(
|
||||||
"Configuring trusted_networks via the http component has been"
|
"Configuring trusted_networks via the http component has been"
|
||||||
" deprecated. Use the trusted networks auth provider instead."
|
" deprecated. Use the trusted networks auth provider instead."
|
||||||
|
Reference in New Issue
Block a user