From bf58ad1d0495c36332053c797938266d8a57c6f8 Mon Sep 17 00:00:00 2001
From: "Edgar P. Burkhart" <git@edgarpierre.fr>
Date: Sun, 9 Mar 2025 11:24:09 +0100
Subject: [PATCH] Update config file path to /etc/config.toml in main
 application

---
 hasspy/__main__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hasspy/__main__.py b/hasspy/__main__.py
index c5a8785..bebb1c5 100644
--- a/hasspy/__main__.py
+++ b/hasspy/__main__.py
@@ -7,7 +7,7 @@ from hasspy.mqtt import HassClient
 def main() -> None:
     logging.basicConfig(level=logging.INFO)
 
-    with open("config.toml", "rb") as file:
+    with open("/etc/config.toml", "rb") as file:
         config = tomllib.load(file)
 
     ha = HassClient(