HASwitchPlate / openHASP-custom-component

Home Assistant custom component for openHASP
https://www.openhasp.com
MIT License
51 stars 12 forks source link

permissionon the pages.jsonl directory in the configuration #119

Closed faspina closed 5 months ago

faspina commented 5 months ago

Version of the custom_component

Version 0.7.2

Configuration

N/A

Add your config here.


## Describe the bug
putting 
/config/openhasp/pages.jsonl  in the configuration box of the component. 

Getting 
'/config/openhasp/pages.jsonl' is not an allowed directory

in the log. I am running Home Assistant in Unraid, and I have RW privileges on the directory and file 

## Debug log

'/config/openhasp/pages.jsonl' is not an allowed directory

```text

Add your logs here.
dgomes commented 5 months ago

You need to allow it:


homeassistant:
  allowlist_external_dirs:  
    - '/config/openhasp'