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

sha256 for host

This commit is contained in:
J. Nick Koston
2025-09-21 10:40:26 -06:00
parent 93c444ee15
commit 4cdeb3f547

View File

@@ -2,6 +2,7 @@ import esphome.codegen as cg
import esphome.config_validation as cv import esphome.config_validation as cv
from esphome.core import CORE from esphome.core import CORE
from esphome.helpers import IS_MACOS from esphome.helpers import IS_MACOS
from esphome.types import ConfigType
CODEOWNERS = ["@esphome/core"] CODEOWNERS = ["@esphome/core"]
@@ -10,7 +11,7 @@ sha256_ns = cg.esphome_ns.namespace("sha256")
CONFIG_SCHEMA = cv.Schema({}) CONFIG_SCHEMA = cv.Schema({})
async def to_code(config): async def to_code(config: ConfigType) -> None:
# Add OpenSSL library for host platform # Add OpenSSL library for host platform
if CORE.is_host: if CORE.is_host:
if IS_MACOS: if IS_MACOS: