Node-RED home/away HA helper says away when it should be home

How many nodes did you export? To show what we need it should only be a handful. You should be able to paste it in directly. In order to make code readable and usable it is necessary to surround your code with three backticks (also known as a left quote or backquote ```)

``` 
   code goes here 
```

See this post for more details - How to share code or flow json