File size
The File size integration集成将 Home Assistant 与您的设备、服务等连接和集成。 [Learn more] is for displaying the size in MB of a file.
File paths must also be added to allowlist_external_dirs in your configuration.yaml
.
File paths should be absolute paths. For example: /config/home-assistant_v2.db
to monitor the size of the default database.
配置
要将 File size integration 添加到您的 Home Assistant 实例中,请使用此 My 按钮:
手动配置步骤
如果上述 My 按钮不起作用,您也可以手动执行以下步骤:
-
浏览到您的 Home Assistant 实例。
-
转到
设置 > 设备与服务。 -
在右下角,选择
Add Integration 按钮。 -
从列表中选择 File size。
-
按照屏幕上的说明完成设置。