Removed deprecated zigbee.mqtt backend.

Closes: #322
This commit is contained in:
Fabio Manganiello 2023-09-06 02:54:48 +02:00
parent 3de510da68
commit 8ab7b6bebc
Signed by: blacklight
GPG key ID: D90FBA7F76362774
2 changed files with 0 additions and 35 deletions

View file

@ -1,35 +0,0 @@
import warnings
from platypush.backend import Backend
class ZigbeeMqttBackend(Backend):
"""
Listen for events on a zigbee2mqtt service.
**WARNING**: This backend is **DEPRECATED** and it will be removed in a
future version.
It has been merged with
:class:`platypush.plugins.zigbee.mqtt.ZigbeeMqttPlugin`.
Now you can simply configure the `zigbee.mqtt` plugin in order to enable
the Zigbee integration - no need to enable both the plugin and the backend.
"""
def run(self):
super().run()
warnings.warn(
'''
The zigbee.mqtt backend has been merged into the zigbee.mqtt
plugin. It is now deprecated and it will be removed in a future
version.
Please remove any references to it from your configuration.
''',
DeprecationWarning,
)
self.wait_stop()
# vim:sw=4:ts=4:et: