From 2b93c5f8d3659acc5050bd40d36c828ee9514ce2 Mon Sep 17 00:00:00 2001 From: Denis-Cosmin Nutiu Date: Mon, 13 Jun 2022 13:07:24 +0300 Subject: [PATCH] Move accessory state path to sensors --- sensors/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sensors/main.py b/sensors/main.py index f7d7abd..a14079e 100644 --- a/sensors/main.py +++ b/sensors/main.py @@ -57,7 +57,7 @@ def get_bridge(accessory_driver): if __name__ == '__main__': - driver = AccessoryDriver(port=51826, persist_file="/home/pi/bme680-homekit/accessory.state") + driver = AccessoryDriver(port=51826, persist_file="/home/pi/bme680-homekit/sensors/accessory.state") driver.add_accessory(accessory=get_bridge(driver)) signal.signal(signal.SIGTERM, driver.signal_handler) driver.start()