hass-core/homeassistant/components/modbus
jan iversen ff856a9bba
Simplify calls to pymodbus (#50717)
* simplify pymodbus_call.

Do not call with a function object and a check attribute, call instead
with CALL_TYPE*.

Avoid if <type> call x else call y.
Call async_pymodbus_call directly, instead of unpacking/packing.

* Declare call type in __init__.

* Modbus.py back to 100% test coverage.
2021-05-17 11:20:12 +02:00
..
__init__.py Fix modbus blocking threads (#50619) 2021-05-15 19:54:17 +02:00
binary_sensor.py Simplify calls to pymodbus (#50717) 2021-05-17 11:20:12 +02:00
climate.py Fix modbus blocking threads (#50619) 2021-05-15 19:54:17 +02:00
const.py Simplify calls to pymodbus (#50717) 2021-05-17 11:20:12 +02:00
cover.py Correct Modbus platform cover restore state (#50421) 2021-05-16 08:40:19 +02:00
manifest.json Bump pymodbus to v2.5.2 (#50582) 2021-05-13 20:31:48 -07:00
modbus.py Simplify calls to pymodbus (#50717) 2021-05-17 11:20:12 +02:00
sensor.py Simplify calls to pymodbus (#50717) 2021-05-17 11:20:12 +02:00
services.yaml Add targets and selectors for services (L-M) (#50543) 2021-05-15 11:06:34 +02:00
switch.py Fix modbus blocking threads (#50619) 2021-05-15 19:54:17 +02:00