From be11f4442897e5f9b3430d083dcc0e71e489c53c Mon Sep 17 00:00:00 2001 From: tylerbinski <4217402+tylerbinski@users.noreply.github.com> Date: Sat, 8 Feb 2025 22:39:04 -0500 Subject: [PATCH] Fixes OpenHab MQTT esp8266 issue #320 - Removing Extra Space in MQTT Topic fixes #320 OpenHab MQTT esp8266 issue #320 --- examples/esp8266/OpenHAB-MQTT/OpenHAB-MQTT.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/esp8266/OpenHAB-MQTT/OpenHAB-MQTT.ino b/examples/esp8266/OpenHAB-MQTT/OpenHAB-MQTT.ino index 60a64f0..8ae555d 100644 --- a/examples/esp8266/OpenHAB-MQTT/OpenHAB-MQTT.ino +++ b/examples/esp8266/OpenHAB-MQTT/OpenHAB-MQTT.ino @@ -37,8 +37,8 @@ Thing mqtt:topic:mymqtt:dsc "DSC Security System" (mqtt:broker:mymqtt) @ "Home" Type switch : partition1_fire "Partition 1 Fire" [stateTopic="dsc/Get/Fire1", on="1", off="0"] Type switch : panel_online "Panel Online" [stateTopic="dsc/Status", on="online", off="offline"] Type switch : panel_trouble "Panel Trouble" [stateTopic="dsc/Get/Trouble", on="1", off="0"] - Type switch : pgm1 "PGM 1" [stateTopic="dsc/Get/PGM 1", on="1", off="0"] - Type switch : pgm8 "PGM 8" [stateTopic="dsc/Get/PGM 8", on="1", off="0"] + Type switch : pgm1 "PGM 1" [stateTopic="dsc/Get/PGM1", on="1", off="0"] + Type switch : pgm8 "PGM 8" [stateTopic="dsc/Get/PGM8", on="1", off="0"] Type contact : zone1 "Zone 1" [stateTopic="dsc/Get/Zone1", on="1", off="0"] Type contact : zone2 "Zone 2" [stateTopic="dsc/Get/Zone2", on="1", off="0"] Type contact : zone3 "Zone 3" [stateTopic="dsc/Get/Zone3", on="1", off="0"]