diff --git a/profiles/templates/homeassistant/homeassistant/0-adduser.homeassistant/.calculate_directory b/profiles/templates/homeassistant/homeassistant/0-adduser.homeassistant/.calculate_directory
new file mode 100644
index 0000000..ec81125
--- /dev/null
+++ b/profiles/templates/homeassistant/homeassistant/0-adduser.homeassistant/.calculate_directory
@@ -0,0 +1 @@
+# Calculate grep(/etc/user,#-cut(1,.)-#)==
diff --git a/profiles/templates/homeassistant/homeassistant/0-adduser.homeassistant/groups b/profiles/templates/homeassistant/homeassistant/0-adduser.homeassistant/groups
new file mode 100644
index 0000000..e773a5f
--- /dev/null
+++ b/profiles/templates/homeassistant/homeassistant/0-adduser.homeassistant/groups
@@ -0,0 +1,5 @@
+# Calculate path=/etc name=group format=patch protected
+usb:x:85:
+usb:x:85:homeassistant
+dialout:x:20:
+dialout:x:20:homeassistant
diff --git a/profiles/templates/homeassistant/homeassistant/0-adduser.homeassistant/homeassistant.group b/profiles/templates/homeassistant/homeassistant/0-adduser.homeassistant/homeassistant.group
new file mode 100644
index 0000000..99f60fd
--- /dev/null
+++ b/profiles/templates/homeassistant/homeassistant/0-adduser.homeassistant/homeassistant.group
@@ -0,0 +1,2 @@
+# Calculate path=/etc name=#-cut(1,.)-# append=after protected
+homeassistant:x:999:
diff --git a/profiles/templates/homeassistant/homeassistant/0-adduser.homeassistant/homeassistant.passwd b/profiles/templates/homeassistant/homeassistant/0-adduser.homeassistant/homeassistant.passwd
new file mode 100644
index 0000000..a0c128e
--- /dev/null
+++ b/profiles/templates/homeassistant/homeassistant/0-adduser.homeassistant/homeassistant.passwd
@@ -0,0 +1,2 @@
+# Calculate path=/etc name=#-cut(1,.)-# append=after protected
+homeassistant:x:999:999::/var/calculate/www/homeassistant:/bin/bash
diff --git a/profiles/templates/homeassistant/homeassistant/0-adduser.homeassistant/homeassistant.shadow b/profiles/templates/homeassistant/homeassistant/0-adduser.homeassistant/homeassistant.shadow
new file mode 100644
index 0000000..61b1019
--- /dev/null
+++ b/profiles/templates/homeassistant/homeassistant/0-adduser.homeassistant/homeassistant.shadow
@@ -0,0 +1,2 @@
+# Calculate path=/etc name=#-cut(1,.)-# append=after protected
+homeassistant:!:19446::::::
diff --git a/profiles/templates/homeassistant/homeassistant/0-etc.homeassistant.group b/profiles/templates/homeassistant/homeassistant/0-etc.homeassistant.group
deleted file mode 100644
index 622a6ea..0000000
--- a/profiles/templates/homeassistant/homeassistant/0-etc.homeassistant.group
+++ /dev/null
@@ -1,2 +0,0 @@
-# Calculate append=after path=/etc name=#-cut(2,.)-# grep(/etc/#-cut(2,.)-#,#-cut(1,.)-#)== protected
-homeassistant:x:999:
diff --git a/profiles/templates/homeassistant/homeassistant/0-etc.homeassistant.passwd b/profiles/templates/homeassistant/homeassistant/0-etc.homeassistant.passwd
deleted file mode 100644
index e7679b0..0000000
--- a/profiles/templates/homeassistant/homeassistant/0-etc.homeassistant.passwd
+++ /dev/null
@@ -1,2 +0,0 @@
-# Calculate append=after path=/etc name=#-cut(2,.)-# grep(/etc/#-cut(2,.)-#,#-cut(1,.)-#)== protected
-homeassistant:x:999:999::/var/calculate/www/homeassistant:/bin/bash
diff --git a/profiles/templates/homeassistant/homeassistant/0-etc.homeassistant.shadow b/profiles/templates/homeassistant/homeassistant/0-etc.homeassistant.shadow
deleted file mode 100644
index 963c738..0000000
--- a/profiles/templates/homeassistant/homeassistant/0-etc.homeassistant.shadow
+++ /dev/null
@@ -1,2 +0,0 @@
-# Calculate append=after path=/etc name=#-cut(2,.)-# grep(/etc/#-cut(2,.)-#,#-cut(1,.)-#)== protected
-homeassistant:!:19446::::::