core/homeassistant/components/switch
Dan Smith 0a7db98b0e Round mFi sensor values to reasonable levels of precision
Most of the mFi sensors are able to reasonably provide accurate
readings to a tenth of a unit or so. This patch rounds them for
better display in the UI. Normally, I would expect this to be a view
action instead of altering the actual data emitted, but since these
values are reasonable for sensor precision, we're not really losing
anything. I followed the model from the openweathermap component, which
rounds for readability in the backend.
2016-02-07 20:51:00 +00:00
..
__init__.py Clean up state_attributes vs device_state_attributes 2016-02-06 22:34:24 -08:00
arduino.py Update link to docs (Jekyll 3 update) 2015-11-09 13:12:18 +01:00
arest.py function support for aREST backend 2015-11-26 20:45:07 +01:00
command_switch.py combine ifs 2015-12-31 18:39:40 -05:00
demo.py Add icon support to entity 2015-11-03 00:20:48 -08:00
edimax.py Fix imports 2016-01-28 21:45:26 -08:00
hikvisioncam.py PyLint 1.5 fixes 2015-11-29 13:49:05 -08:00
isy994.py Update link to docs (Jekyll 3 update) 2015-11-09 13:12:18 +01:00
mfi.py Round mFi sensor values to reasonable levels of precision 2016-02-07 20:51:00 +00:00
modbus.py Update link to docs (Jekyll 3 update) 2015-11-09 13:12:18 +01:00
mqtt.py Migrate MQTT from jsonpath to templates 2015-12-10 21:39:01 -08:00
mysensors.py Clean up state_attributes vs device_state_attributes 2016-02-06 22:34:24 -08:00
mystrom.py PyLint 1.5 fixes 2015-11-29 13:49:05 -08:00
orvibo.py bump orvibo version 2016-01-25 16:40:27 -05:00
rest.py Equalize log messages 2015-12-22 22:02:55 +01:00
rfxtrx.py Make Flake8 happy 2016-01-12 21:53:27 -08:00
rpi_gpio.py update comments 2016-01-15 16:53:46 +00:00
scsgate.py Add support for the SCSGate device 2016-01-31 18:30:43 +01:00
services.yaml Add service descriptions 2015-09-26 23:17:04 -07:00
tellduslive.py reworked telldus live support 2016-02-05 00:07:12 +01:00
tellstick.py Clean up state_attributes vs device_state_attributes 2016-02-06 22:34:24 -08:00
template.py Use available, remove state, improve true,false tests. 2016-02-05 11:18:50 +00:00
transmission.py PyLint 1.5 fixes 2015-11-29 13:49:05 -08:00
vera.py Clean up state_attributes vs device_state_attributes 2016-02-06 22:34:24 -08:00
verisure.py changed to python-verisure 0.4.1 2015-12-25 20:16:51 +01:00
wemo.py Clean up state_attributes vs device_state_attributes 2016-02-06 22:34:24 -08:00
wink.py Updating to python-wink 0.5.0 2016-02-06 14:22:46 -06:00
zigbee.py Add link to docs, new docstrings, and update docstrings 2016-02-01 11:47:09 +01:00
zwave.py Updated Imports. 2016-01-27 07:37:41 +01:00