Deprecate usermod mqtt_switch. (#2499)

This commit is contained in:
Hermann Kraus 2022-01-20 23:31:28 +01:00 committed by GitHub
parent f8c80283e4
commit 2648eba5bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -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 # MQTT controllable switches
This usermod allows controlling switches (e.g. relays) via MQTT. This usermod allows controlling switches (e.g. relays) via MQTT.

View File

@ -1,5 +1,7 @@
#pragma once #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" #include "wled.h"
#ifndef WLED_ENABLE_MQTT #ifndef WLED_ENABLE_MQTT
#error "This user mod requires MQTT to be enabled." #error "This user mod requires MQTT to be enabled."