* Updated precision to follow the tenths, halves, whole notation used by other home assistant climate modules. Added the precision @property so that home assistant can handle this rounding in the frontend, rather than in the _async_read_register() method. * Fixed a pylinter error for periods in user-facing log messages, and updated `precision` defaults in components/modbus/__init__.py to be consistent with an error case, using `PRECISION_WHOLE`. * revert changes to `precision:` configuration variable instead, the climate `precision()` function will infer whether or not to display in whole or tenths. halves will be unsupported, which should be fine. * re-added missing line that was removed * revert change to use self._input_type instead of CALL_TYPE_REGISTER_HOLDING |
||
---|---|---|
.. | ||
__init__.py | ||
base_platform.py | ||
binary_sensor.py | ||
climate.py | ||
const.py | ||
cover.py | ||
fan.py | ||
light.py | ||
manifest.json | ||
modbus.py | ||
sensor.py | ||
services.yaml | ||
switch.py | ||
validators.py |