Skip to content

Commit

Permalink
Migrate add-on to new Home Assistant configuration mapping (#284)
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck authored Nov 10, 2023
1 parent fde1536 commit 31c4ab8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sqlite-web/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ arch:
- amd64
- armv7
map:
- config:rw
- homeassistant_config:rw
- share:rw
schema:
database: "str?"
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# ==============================================================================
declare database

database="/config/home-assistant_v2.db"
database="/homeassistant/home-assistant_v2.db"
if bashio::config.has_value 'database'; then
database="$(bashio::config 'database')"
fi
Expand Down
2 changes: 1 addition & 1 deletion sqlite-web/rootfs/etc/s6-overlay/s6-rc.d/sqlite-web/run
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
declare -a options
declare database

database="/config/home-assistant_v2.db"
database="/homeassistant/home-assistant_v2.db"
if bashio::config.has_value 'database'; then
database="$(bashio::config 'database')"
fi
Expand Down

0 comments on commit 31c4ab8

Please sign in to comment.