Update .env.example for development environment configuration
- Changed NODE_ENV from production to development for local testing. - Updated HASS_HOST and HASS_SOCKET_URL to point to local Home Assistant instance. - Added PORT and LOG_LEVEL variables for better control over application settings during development.
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
NODE_ENV=production
|
||||
HASS_HOST=your_home_assistant_url
|
||||
HASS_TOKEN=your_home_assistant_token
|
||||
NODE_ENV=development
|
||||
HASS_HOST=http://homeassistant.local:8123
|
||||
HASS_TOKEN=your_home_assistant_token
|
||||
PORT=3000
|
||||
HASS_SOCKET_URL=ws://homeassistant.local:8123/api/websocket
|
||||
LOG_LEVEL=debug
|
||||
Reference in New Issue
Block a user