Change the default divider
parent
eb5d857180
commit
1dd469befd
@ -1,6 +1,6 @@
|
|||||||
const TOKEN = process.env.HA_TOKEN;
|
const TOKEN = process.env.HA_TOKEN;
|
||||||
const HA_URL = process.env.HA_URL || "http://127.0.0.1:8123";
|
const HA_URL = process.env.HA_URL || "http://127.0.0.1:8123";
|
||||||
const PORT = parseInt(process.env.HA_BRIDGE_PORT || "41234");
|
const PORT = parseInt(process.env.HA_BRIDGE_PORT || "41234");
|
||||||
const TRANSITION_DURATION_DIVIDER = parseInt(process.env.HA_DURATION_DIVIDER || "2");
|
const TRANSITION_DURATION_DIVIDER = parseInt(process.env.HA_DURATION_DIVIDER || "1");
|
||||||
|
|
||||||
module.exports = { TOKEN, HA_URL, PORT, TRANSITION_DURATION_DIVIDER };
|
module.exports = { TOKEN, HA_URL, PORT, TRANSITION_DURATION_DIVIDER };
|
||||||
|
Loading…
Reference in New Issue