From 8ab7b6bebc647a0471368e219a4506377aa7e2af Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Wed, 6 Sep 2023 02:54:48 +0200 Subject: [PATCH] Removed deprecated `zigbee.mqtt` backend. Closes: #322 --- platypush/backend/zigbee/__init__.py | 0 platypush/backend/zigbee/mqtt/__init__.py | 35 ----------------------- 2 files changed, 35 deletions(-) delete mode 100644 platypush/backend/zigbee/__init__.py delete mode 100644 platypush/backend/zigbee/mqtt/__init__.py diff --git a/platypush/backend/zigbee/__init__.py b/platypush/backend/zigbee/__init__.py deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/platypush/backend/zigbee/mqtt/__init__.py b/platypush/backend/zigbee/mqtt/__init__.py deleted file mode 100644 index 823d0a840d..0000000000 --- a/platypush/backend/zigbee/mqtt/__init__.py +++ /dev/null @@ -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: