mirror of
https://github.com/esphome/esphome.git
synced 2025-09-10 15:22:24 +01:00
Enable networking and some other components on host platform (#6114)
This commit is contained in:
@@ -3,6 +3,7 @@ from contextlib import suppress
|
||||
|
||||
import logging
|
||||
import os
|
||||
import platform
|
||||
from pathlib import Path
|
||||
from typing import Union
|
||||
import tempfile
|
||||
@@ -11,6 +12,10 @@ import re
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
IS_MACOS = platform.system() == "Darwin"
|
||||
IS_WINDOWS = platform.system() == "Windows"
|
||||
IS_LINUX = platform.system() == "Linux"
|
||||
|
||||
|
||||
def ensure_unique_string(preferred_string, current_strings):
|
||||
test_string = preferred_string
|
||||
|
Reference in New Issue
Block a user