From e1eb96a46d3212637f5a73e54282e868344f28ea Mon Sep 17 00:00:00 2001 From: jango-blockchained Date: Tue, 17 Dec 2024 16:49:08 +0100 Subject: [PATCH] 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. --- .env.example | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.env.example b/.env.example index ededad8..d865436 100644 --- a/.env.example +++ b/.env.example @@ -1,3 +1,6 @@ -NODE_ENV=production -HASS_HOST=your_home_assistant_url -HASS_TOKEN=your_home_assistant_token \ No newline at end of file +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 \ No newline at end of file