Skip to content

Commit ec224a4

Browse files
committed
Re-add Environment Variables to README.md
1 parent 31ac8f8 commit ec224a4

2 files changed

Lines changed: 17 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ node_modules
1111
results
1212
pnpm-lock.yaml
1313
/public
14+
.env

README.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# volto-home-assistant (volto-home-assistant)
1+
# Volto Home Assistant (volto-home-assistant)
22

33
Volto add-on to pull data from the Home Assistant API
44

@@ -11,6 +11,21 @@ Volto add-on to pull data from the Home Assistant API
1111

1212
<!-- List your awesome features here -->
1313

14+
- View the state of Soil Moisture Sensors
15+
- View the state of Water Pump Relays
16+
17+
## Environment Variables
18+
### Local testing
19+
Create a .env file in the project root.
20+
### Remote deployment
21+
Modify the ENV_FILE Github environment secret of the Plone Project that deploys this add-on.
22+
23+
```shell
24+
RAZZLE_HOMEASSISTANT_API_HOST=https://url
25+
RAZZLE_HOMEASSISTANT_API_PORT=port
26+
RAZZLE_HOMEASSISTANT_ACCESS_TOKEN=token
27+
```
28+
1429
## Installation
1530

1631
To install your project, you must choose the method appropriate to your version of Volto.

0 commit comments

Comments
 (0)