mirror of
https://github.com/hassio-addons/addon-sqlite-web.git
synced 2025-05-07 04:31:27 +00:00
Migrate add-on to new Home Assistant configuration mapping (#284)
This commit is contained in:
parent
fde1536fb2
commit
31c4ab8561
3 changed files with 3 additions and 3 deletions
|
@ -14,7 +14,7 @@ arch:
|
|||
- amd64
|
||||
- armv7
|
||||
map:
|
||||
- config:rw
|
||||
- homeassistant_config:rw
|
||||
- share:rw
|
||||
schema:
|
||||
database: "str?"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue