Skip to content

Commit

Permalink
Deprecate usermod mqtt_switch. (Aircoookie#2499)
Browse files Browse the repository at this point in the history
  • Loading branch information
herm authored Jan 20, 2022
1 parent f8c8028 commit 2648eba
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions usermods/mqtt_switch_v2/README.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 2 additions & 0 deletions usermods/mqtt_switch_v2/usermod_mqtt_switch.h
Original file line number Diff line number Diff line change
@@ -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."
Expand Down

0 comments on commit 2648eba

Please sign in to comment.