From 2648eba5bf72fa99c79d0c9305e1432265bf6176 Mon Sep 17 00:00:00 2001 From: Hermann Kraus Date: Thu, 20 Jan 2022 23:31:28 +0100 Subject: [PATCH] Deprecate usermod mqtt_switch. (#2499) --- usermods/mqtt_switch_v2/README.md | 4 ++++ usermods/mqtt_switch_v2/usermod_mqtt_switch.h | 2 ++ 2 files changed, 6 insertions(+) diff --git a/usermods/mqtt_switch_v2/README.md b/usermods/mqtt_switch_v2/README.md index dc0e259f..148e4a56 100644 --- a/usermods/mqtt_switch_v2/README.md +++ b/usermods/mqtt_switch_v2/README.md @@ -1,3 +1,7 @@ +# DEPRECATION NOTICE +This usermod is deprecated and no longer maintained. It will be removed in a future WLED release. Please use usermod multi_relay which has more features. + + # MQTT controllable switches This usermod allows controlling switches (e.g. relays) via MQTT. diff --git a/usermods/mqtt_switch_v2/usermod_mqtt_switch.h b/usermods/mqtt_switch_v2/usermod_mqtt_switch.h index 40241206..67dfc9cc 100644 --- a/usermods/mqtt_switch_v2/usermod_mqtt_switch.h +++ b/usermods/mqtt_switch_v2/usermod_mqtt_switch.h @@ -1,5 +1,7 @@ #pragma once +#warning "This usermod is deprecated and no longer maintained. It will be removed in a future WLED release. Please use usermod multi_relay which has more features." + #include "wled.h" #ifndef WLED_ENABLE_MQTT #error "This user mod requires MQTT to be enabled."