[#291] Removed deprecated light.hue backend.

Closes: #291
This commit is contained in:
Fabio Manganiello 2023-09-20 23:46:40 +02:00
parent 8925405788
commit 7ba9a8930a
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774
5 changed files with 0 additions and 38 deletions

View file

@ -27,7 +27,6 @@ Backends
platypush/backend/joystick.jstest.rst
platypush/backend/joystick.linux.rst
platypush/backend/kafka.rst
platypush/backend/light.hue.rst
platypush/backend/log.http.rst
platypush/backend/mail.rst
platypush/backend/midi.rst

View file

@ -1,6 +0,0 @@
``light.hue``
===============================
.. automodule:: platypush.backend.light.hue
:members:

View file

@ -1,25 +0,0 @@
import warnings
from platypush.backend import Backend
class LightHueBackend(Backend):
"""
**DEPRECATED**
The polling logic of this backend has been moved to the ``light.hue`` plugin itself.
"""
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
warnings.warn(
'The light.hue backend is deprecated. All of its logic '
'has been moved to the light.hue plugin itself.'
)
def run(self):
super().run()
self.logger.info('Stopped Hue lights backend')
# vim:sw=4:ts=4:et:

View file

@ -1,6 +0,0 @@
manifest:
events:
install:
pip: []
package: platypush.backend.light.hue
type: backend