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 |
||
---|---|---|
.. | ||
__init__.py | ||
test_init.py | ||
test_mqtt.py |