mirror of
https://github.com/esphome/esphome.git
synced 2025-09-09 23:02:23 +01:00
Add warning if esphome-core dev used without esphome dev
This commit is contained in:
@@ -6,6 +6,8 @@ import re
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
from esphome import const
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
||||
@@ -147,3 +149,7 @@ def run_external_process(*cmd, **kwargs):
|
||||
if capture_stdout:
|
||||
# pylint: disable=lost-exception
|
||||
return sub_stdout.getvalue()
|
||||
|
||||
|
||||
def is_dev_esphome_version():
|
||||
return 'dev' in const.__version__
|
||||
|
Reference in New Issue
Block a user