mirror of
https://github.com/aljazceru/addons.git
synced 2026-02-01 03:05:49 +01:00
homematic: persist groups (#1744)
This persists the groups.gson used for thermostat groups by symlinking it into the data directory.
This commit is contained in:
committed by
GitHub
parent
c4a24dd609
commit
33f2769a9e
@@ -1,5 +1,9 @@
|
||||
# Changelog
|
||||
|
||||
## 11.0.6
|
||||
|
||||
- Persist groups
|
||||
|
||||
## 11.0.5
|
||||
|
||||
- Skip HmIP firmware update for udev path
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "HomeMatic CCU",
|
||||
"version": "11.0.5",
|
||||
"version": "11.0.6",
|
||||
"slug": "homematic",
|
||||
"description": "HomeMatic central based on OCCU",
|
||||
"url": "https://github.com/home-assistant/hassio-addons/tree/master/homematic",
|
||||
|
||||
@@ -10,10 +10,13 @@ mkdir -p /data/rfd
|
||||
mkdir -p /data/hs485d
|
||||
mkdir -p /data/userprofiles
|
||||
|
||||
ln -s /data/userprofiles /etc/config/userprofiles
|
||||
|
||||
# Init files
|
||||
touch /data/groups.json
|
||||
touch /data/hmip_user.conf
|
||||
touch /data/rega_user.conf
|
||||
touch /data/homematic.regadom
|
||||
touch /data/userprofiles/userAckInstallWizard_Admin
|
||||
|
||||
# Persist
|
||||
ln -s /data/userprofiles /etc/config/userprofiles
|
||||
ln -s /data/groups.gson /opt/hm/etc/config/groups.gson
|
||||
|
||||
Reference in New Issue
Block a user