Skip to content

Commit

Permalink
fix: 名前を合わせる
Browse files Browse the repository at this point in the history
  • Loading branch information
nana4rider committed Jan 17, 2025
1 parent 6df41f2 commit 1aa1113
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wisun2mqtt",
"version": "1.0.9",
"version": "1.0.10",
"main": "dist/index.js",
"type": "module",
"homepage": "https://github.com/nana4rider/wisun2mqtt",
Expand Down
2 changes: 1 addition & 1 deletion src/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const env = cleanEnv(process.env, {
desc: "オンライン状態を送信する間隔",
default: 10000,
}),
ENTITY_UPDATE_INTERVAL: num({
AUTO_REQUEST_INTERVAL: num({
desc: "エンティティの更新間隔",
default: 60000,
}),
Expand Down
2 changes: 1 addition & 1 deletion src/manager/mqttDeviceManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export default async function setupMqttDeviceManager(
} catch (err) {
logger.warn("Failed to fetch ECHONET properties", err);
}
await setTimeout(env.ENTITY_UPDATE_INTERVAL);
await setTimeout(env.AUTO_REQUEST_INTERVAL);
}
})();

Expand Down

0 comments on commit 1aa1113

Please sign in to comment.