1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 14:43:51 +00:00

some tests

This commit is contained in:
J. Nick Koston
2025-07-06 13:48:11 -05:00
parent 05253991c2
commit 28886a896b
3 changed files with 141 additions and 1 deletions

View File

@@ -10,7 +10,9 @@ from esphome.const import (
from esphome.core import CORE
# Pre-build lookup map from (platform, framework) tuples to PlatformFramework enum
_PLATFORM_FRAMEWORK_LOOKUP = {pf.value: pf for pf in PlatformFramework}
_PLATFORM_FRAMEWORK_LOOKUP = {
(pf.value[0].value, pf.value[1].value): pf for pf in PlatformFramework
}
class Extend: