mirror of
https://github.com/esphome/esphome.git
synced 2026-05-10 14:09:14 +08:00
0c5f055d45
Co-authored-by: J. Nick Koston <nick@home-assistant.io> Co-authored-by: J. Nick Koston <nick@koston.org>
10 lines
271 B
Python
10 lines
271 B
Python
import esphome.codegen as cg
|
|
from tests.testing_helpers import ComponentManifestOverride
|
|
|
|
|
|
def override_manifest(manifest: ComponentManifestOverride) -> None:
|
|
async def to_code(config):
|
|
cg.add_build_flag("-DUSE_TIME_TIMEZONE")
|
|
|
|
manifest.to_code = to_code
|