1
0
mirror of https://github.com/esphome/esphome.git synced 2025-11-16 06:45:48 +00:00
This commit is contained in:
J. Nick Koston
2025-11-01 03:04:55 -05:00
parent b6a31a24bc
commit fe0d9828a8

View File

@@ -2,6 +2,7 @@ from __future__ import annotations
from collections.abc import Callable
from functools import cache
import hashlib
import json
import os
import os.path
@@ -767,7 +768,6 @@ def get_components_graph_cache_key() -> str:
Returns:
SHA256 hex string uniquely identifying the current component state
"""
import hashlib
# Use git ls-files -s to get sha1 hashes of all component __init__.py files
# Format: <mode> <sha1> <stage> <path>