adaptive-lighting icon indicating copy to clipboard operation
adaptive-lighting copied to clipboard

Add feature for reducing the brightness of lights during the daytime

Open haasn opened this issue 1 year ago • 1 comments

Ideally, we would tie this to something like a Lux sensor input, but this is the next best thing I could easily implement.

Closes: #1074

Note

I gave this implementation a try, but I'm not really sure how to test this app as there were no build/test instructions included. I'm submitting it here in the hopes that you can help me test it out locally before we merge it.

haasn avatar Dec 01 '24 21:12 haasn

Update: I tried testing it locally but got:

λ docker run -v $(pwd):/app basnijholt/adaptive-lighting:latest
============================= test session starts ==============================
platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 -- /usr/local/bin/python3
cachedir: .pytest_cache
rootdir: /core
configfile: pyproject.toml
plugins: requests-mock-1.12.1, pytest_freezer-0.4.8, cov-6.0.0, xdist-3.6.1, asyncio-0.24.0, respx-0.21.1, sugar-1.0.0, aiohttp-1.0.5, github-actions-annotate-failures-0.2.0, syrupy-4.7.2, flaky-3.8.1, picked-0.5.0, unordered-0.6.1, timeout-2.3.1, socket-0.7.0, anyio-4.6.2.post1
asyncio: mode=Mode.AUTO, default_loop_scope=function
timeout: 9.0s
timeout method: signal
timeout func_only: False
collecting ... collected 0 items

============================ no tests ran in 0.06s =============================
ERROR: file or directory not found: tests/components/adaptive_lighting

haasn avatar Dec 01 '24 21:12 haasn