mirror of https://github.com/LedFx/LedFx.git
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
4ea08135dc
commit
59dfd279e9
|
@ -1,14 +1,17 @@
|
||||||
import logging
|
import logging
|
||||||
from ledfx.devices import NetworkedDevice
|
|
||||||
import flux_led
|
import flux_led
|
||||||
import numpy as np
|
import numpy as np
|
||||||
import voluptuous as vol
|
import voluptuous as vol
|
||||||
|
|
||||||
|
from ledfx.devices import NetworkedDevice
|
||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
class ZenggeDevice(NetworkedDevice):
|
class ZenggeDevice(NetworkedDevice):
|
||||||
"""Zengge/MagicHome/FluxLED device support"""
|
"""Zengge/MagicHome/FluxLED device support"""
|
||||||
|
|
||||||
CONFIG_SCHEMA = vol.Schema(
|
CONFIG_SCHEMA = vol.Schema(
|
||||||
{
|
{
|
||||||
vol.Required(
|
vol.Required(
|
||||||
|
@ -23,7 +26,6 @@ class ZenggeDevice(NetworkedDevice):
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
def __init__(self, ledfx, config):
|
def __init__(self, ledfx, config):
|
||||||
super().__init__(ledfx, config)
|
super().__init__(ledfx, config)
|
||||||
self._device_type = "Zengge/MagicHome/FluxLED"
|
self._device_type = "Zengge/MagicHome/FluxLED"
|
||||||
|
|
Loading…
Reference in New Issue