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