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:
Steffen Dirkwinkel
2021-01-05 09:18:14 +01:00
committed by GitHub
parent c4a24dd609
commit 33f2769a9e
3 changed files with 10 additions and 3 deletions

View File

@@ -1,5 +1,9 @@
# Changelog
## 11.0.6
- Persist groups
## 11.0.5
- Skip HmIP firmware update for udev path

View File

@@ -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",

View File

@@ -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