Skip to content

Commit f3c977e

Browse files
committed
Cache location fix
Fixed subdirectory name so existing platforms not affected by this will keep the persisting control settings from earlier.
1 parent 4c2056a commit f3c977e

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
# Change Log
22
All meaningful changes will be logged here.
33

4+
## **1.7.1 [10-05-2022] - Bug fix**
5+
6+
### *Fixed:*
7+
- Storage cache location - should now work on all platforms - including docker!
8+
9+
- Fixed subdirectory name so existing platforms not affected by this will keep the persisting control settings from earlier.
10+
411
## **1.7.0 [10-05-2022] - Big fix**
512

613
### *Fixed:*

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export default (homebridge) => {
5656
Service = homebridge.hap.Service
5757
Characteristic = homebridge.hap.Characteristic
5858
homebridge.registerAccessory('homebridge-smart-irrigation', 'SmartSprinklers', SmartSprinklers)
59-
cacheDirectory = homebridge.user.storagePath()
59+
cacheDirectory = homebridge.user.storagePath() + '/homebridge-smart-irrigation/storage'
6060
}
6161

6262
function SmartSprinklers (log, config) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"private": false,
33
"displayName": "Homebridge Smart Irrigation",
44
"name": "homebridge-smart-irrigation",
5-
"version": "1.7.0",
5+
"version": "1.7.1",
66
"description": "Adaptive Climate (evapotranspiration) based multi-zone irrigation control of sprinklers with homekit controls. Push and email notification options of start and completion of watering cycles along with weather information.",
77
"license": "MIT",
88
"_requiredBy": [

0 commit comments

Comments
 (0)