1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-03 20:02:22 +01:00

Support ignoring discovered devices from the dashboard (#7665)

This commit is contained in:
Jesse Hills
2024-10-25 07:55:14 +13:00
committed by GitHub
parent 5b5c2fe71b
commit ca5c73d170
3 changed files with 71 additions and 0 deletions

View File

@@ -28,6 +28,10 @@ def esphome_storage_path() -> str:
return os.path.join(CORE.data_dir, "esphome.json")
def ignored_devices_storage_path() -> str:
return os.path.join(CORE.data_dir, "ignored-devices.json")
def trash_storage_path() -> str:
return CORE.relative_config_path("trash")