Skip to content

Commit 245e1e8

Browse files
authored
Merge pull request #336 from fischmi/master
added stateMinimumSoCOfBatteryStorage to stateChangeListener
2 parents a91d272 + 0a7339c commit 245e1e8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

main.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,6 +587,9 @@ function start() {
587587
stateChangeListeners[adapter.namespace + "." + stateMsgFromOtherwallbox] = function (oldValue, newValue) {
588588
handleWallboxExchange(newValue);
589589
};
590+
stateChangeListeners[adapter.namespace + "." + stateMinimumSoCOfBatteryStorage] = function (oldValue, newValue) {
591+
// no real action to do
592+
};
590593

591594
//sendUdpDatagram("i"); only needed for discovery
592595
requestReports();
@@ -2431,4 +2434,4 @@ if (require.main !== module) {
24312434
} else {
24322435
// otherwise start the instance directly
24332436
startAdapter();
2434-
}
2437+
}

0 commit comments

Comments
 (0)