core/tests/components/emulated_hue
J. Nick Koston 23f278e090
Fix emulated_hue brightness off by one (#34185)
* Fix emulated_hue brightness off by one

Hue uses a max brightness of 254, Home Assistant
uses a max brightness of 255. Values > 127 were
off by one.

* use constant

* fix test

* add debug

* Revert "add debug"

This reverts commit 242220a02e.
2020-04-17 11:59:27 -05:00
..
__init__.py Re-org emulated_hue and fix google home (#4708) 2016-12-04 10:57:48 -08:00
test_hue_api.py Fix emulated_hue brightness off by one (#34185) 2020-04-17 11:59:27 -05:00
test_init.py Remove unnecessary string literal concatenations (#30360) 2020-01-02 21:17:10 +02:00
test_upnp.py String formatting improvements for tests (2) (#33666) 2020-04-05 00:33:07 +02:00