mirror of
https://github.com/home-assistant/core.git
synced 2026-08-21 22:01:05 +01:00
* 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