Skip to content

Commit

Permalink
Fix status
Browse files Browse the repository at this point in the history
  • Loading branch information
henryruhs committed Oct 2, 2022
1 parent 21249cb commit 28f8f64
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion chroma_feedback/consumer/nanoleaf/nanoleaf/light.py
Expand Up @@ -26,7 +26,7 @@ def process_lights(lights : Any, producer_report : List[ProducerReport]) -> List
if set_light(light, color.get_by_status(status)):
result.append(
{
'name': 'nanoleaf.nanaleaf',
'name': 'nanoleaf.nanoleaf',
'type': 'light',
'description': helper.create_description(light.get_name(), light.ip),
'status': status
Expand Down
2 changes: 1 addition & 1 deletion chroma_feedback/consumer/thingm/blink1/core.py
Expand Up @@ -4,7 +4,7 @@

from chroma_feedback import helper, logger, wording
from chroma_feedback.typing import Consumer, ProducerReport
from .lights import filter_lights, get_lights, process_lights
from .light import filter_lights, get_lights, process_lights

ARGS = None

Expand Down
2 changes: 1 addition & 1 deletion chroma_feedback/typing.py
Expand Up @@ -43,7 +43,7 @@
'philips.hue',
'razer.chroma',
'signify.wiz',
'thingm_blink1',
'thingm.blink1',
'xiaomi.yeelight'
]
ConsumerType = Literal\
Expand Down
2 changes: 1 addition & 1 deletion tests/consumer/thingm/blink1/test_device.py
@@ -1,7 +1,7 @@
import pytest
from unittest.mock import MagicMock

from chroma_feedback.consumer.thingm.blink1.lights import process_lights
from chroma_feedback.consumer.thingm.blink1.light import process_lights

MOCK = MagicMock()

Expand Down

0 comments on commit 28f8f64

Please sign in to comment.