Skip to content

Commit

Permalink
Merge pull request #45 from markxroberts/ha-mqtt-new
Browse files Browse the repository at this point in the history
Arming status
  • Loading branch information
markxroberts authored May 11, 2024
2 parents 869a0f2 + 233214b commit 591ab59
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@markxroberts/risco-mqtt-local",
"version": "2023.12.0",
"version": "2024.5.0",
"description": "Node Risco Mqtt using local panel API",
"main": "dist/main.js",
"types": "dist/lib/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion risco-mqtt-local-addon/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
FROM markxroberts/risco-mqtt-local:2023.12.0
FROM markxroberts/risco-mqtt-local:2024.5.0
ENV RISCO_MQTT_HA_CONFIG_FILE="/config/risco-mqtt.json"
2 changes: 2 additions & 0 deletions src/lib/risco-mqtt-local.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1234,7 +1234,9 @@ export function riscoMqttHomeAssistant(userConfig: RiscoMQTTConfig) {
}
if (['Ready', 'NotReady'].includes(EventStr)) {
let partitionwait
if (!awaitPartitionReady) {
publishPartitionStatus(panel.partitions.byId(Id));
}
if (['Ready'].includes(EventStr)) {
partitionReadyStatus[Id] = true
if (awaitPartitionReady) {
Expand Down

0 comments on commit 591ab59

Please sign in to comment.