diff --git a/inception-mqtt/src/entities/homeAssistant.ts b/inception-mqtt/src/entities/homeAssistant.ts index 8f475aa..1083682 100644 --- a/inception-mqtt/src/entities/homeAssistant.ts +++ b/inception-mqtt/src/entities/homeAssistant.ts @@ -119,6 +119,7 @@ const startControlInputs = async () => { controlInputs.map(input => { const name = input.Name; const outputId = input.ID; + const topic = `${mqttConfig.discovery_prefix}/binary_sensor/${outputId}/config`; const stateTopic = `${mqttConfig.topic_prefix}/binary_sensor/${outputId}`; let deviceClass = [