mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 22:37:11 +00:00
Fix review comments for filesize (#68703)
This commit is contained in:
parent
25bdb5304d
commit
b96c569657
@ -38,8 +38,11 @@ async def async_setup_platform(
|
||||
) -> None:
|
||||
"""Set up the file size sensor."""
|
||||
_LOGGER.warning(
|
||||
# Filesize config flow added in 2022.4 and should be removed in 2022.8
|
||||
"Loading filesize via platform setup is deprecated; Please remove it from your configuration"
|
||||
# Filesize config flow added in 2022.4 and should be removed in 2022.6
|
||||
"Configuration of the Filesize sensor platform in YAML is deprecated and "
|
||||
"will be removed in Home Assistant 2022.6; Your existing configuration "
|
||||
"has been imported into the UI automatically and can be safely removed "
|
||||
"from your configuration.yaml file"
|
||||
)
|
||||
for path in config[CONF_FILE_PATHS]:
|
||||
hass.async_create_task(
|
||||
|
@ -14,5 +14,6 @@
|
||||
"abort": {
|
||||
"already_configured": "[%key:common::config_flow::abort::already_configured_service%]"
|
||||
}
|
||||
}
|
||||
},
|
||||
"title": "Filesize"
|
||||
}
|
@ -14,5 +14,6 @@
|
||||
"abort": {
|
||||
"already_configured": "Filepath is already configured"
|
||||
}
|
||||
}
|
||||
},
|
||||
"title": "Filesize"
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user