From 73923976302825a2951bd8683cee3eda6a906b76 Mon Sep 17 00:00:00 2001 From: NicoIIT <69118344+NicoIIT@users.noreply.github.com> Date: Wed, 29 Jan 2025 15:03:42 +0100 Subject: [PATCH] Use abspath for config path dir (#8044) --- esphome/core/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/core/__init__.py b/esphome/core/__init__.py index f26c3da483..59cea6f09b 100644 --- a/esphome/core/__init__.py +++ b/esphome/core/__init__.py @@ -582,7 +582,7 @@ class EsphomeCore: @property def config_dir(self): - return os.path.dirname(self.config_path) + return os.path.dirname(os.path.abspath(self.config_path)) @property def data_dir(self):