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