Move accessory state path to sensors
This commit is contained in:
parent
595dbe126a
commit
2b93c5f8d3
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue