* refactor ModbusRegisterSensor to match the ModbusSwitch interface * Please pylint, mypy etc. * Remove PLATFORM. Co-authored-by: jan Iversen <jancasacondor@gmail.com>