Use abspath for config path dir ()

This commit is contained in:
NicoIIT 2025-01-29 15:03:42 +01:00 committed by GitHub
parent 714e2d3e56
commit 7392397630
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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):