Update config file path to /etc/config.toml in main application

This commit is contained in:
Edgar P. Burkhart 2025-03-09 11:24:09 +01:00
parent 802213b709
commit bf58ad1d04
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

@ -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(