hass-core/tests/components/light
St. John Johnson e525b6e0a5 Add brightness scale support for MQTT Lights.
Converts 0..255 values that HA expects into a device 0..SCALE value
Example:
  HA considers "hall light" at 25 brightness or 10% of 255
  Device considers "hall light" at 100 brightness or 10% of 1000

This allows our existing MQTT devices to not change their data format to be used in HA
2016-02-26 10:38:07 -08:00
..
__init__.py mqtt light test is working more test should be written 2015-11-02 17:02:34 +01:00
test_init.py Update for file header, docstrings, and PEP8/PEP257 2016-02-13 14:19:11 +01:00
test_mqtt.py Add brightness scale support for MQTT Lights. 2016-02-26 10:38:07 -08:00