mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 11:22:24 +01:00
19 lines
394 B
Python
19 lines
394 B
Python
"""This helper module tracks commonly used types in the esphome python codebase."""
|
|
|
|
from esphome.core import ID, EsphomeCore, Lambda
|
|
|
|
ConfigFragmentType = (
|
|
str
|
|
| int
|
|
| float
|
|
| None
|
|
| dict[str | int, "ConfigFragmentType"]
|
|
| list["ConfigFragmentType"]
|
|
| ID
|
|
| Lambda
|
|
)
|
|
|
|
ConfigType = dict[str, ConfigFragmentType]
|
|
CoreType = EsphomeCore
|
|
ConfigPathType = str | int
|